Тёмный

Microservices: Contract Testing Using PACT 

GeekNight ThoughtWorks
Подписаться 1,1 тыс.
Просмотров 30 тыс.
50% 1

This talk will help you to understand the Contract Testing in Microservices world and How we can achieve it using PACT framework.
Agenda:
- Microservices and Integrations
- Integration Testing
- Contract Testing
- Pact framework
- Code example
- Pact best practices
Links:
- Code repository - github.com/lov...
- Pact documentation - docs.pact.io/
- Pact Broker documentation - docs.pact.io/p...
By: Lovish Pahwa, Chandan Kumar
Join us on Meetup:
www.meetup.com...

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@ShravanRai100
@ShravanRai100 24 дня назад
I find this video better than the official pact video. nicely explained.good job guys !
@sandeepchopra4854
@sandeepchopra4854 5 месяцев назад
very nice articulation of the concepts and explained the implementation in a very simplified way!
@ayanSaha13291
@ayanSaha13291 3 месяца назад
Very informative discussion! Thanks for the upload.
@hackstreet781
@hackstreet781 10 месяцев назад
awsome, could you also create a tutorial on how to use pact ? and what does those annotations means ? It will be very helpful.
@AA-rg4sv
@AA-rg4sv 2 года назад
Hi , Do you have anything on recently launched bi-directional contract testing?
@pdteach
@pdteach 3 года назад
Very informative. Thanks
@raulparraminchan7196
@raulparraminchan7196 3 года назад
Good stuff... very helpful!!
@parmeshh1369
@parmeshh1369 Год назад
Good information.. Thanks for sharing it.
@midhunnair6932
@midhunnair6932 2 года назад
I tried to implement the way you did, but on the provider side the actual service is getting called instead of the mock service.
@lovishpahwa4177
@lovishpahwa4177 2 года назад
Hi Midhun Nair, Please refer to the Github repository mentioned in the description of this video. I hope that would help.
@ganeshumasare914
@ganeshumasare914 2 месяца назад
Provider test are explained incorrectly. ideally Provider contract test should be executed with Actual Provider service not mocked provider service. We can mock the other dependent Services of targeted Provider so that Targeted Provider can be tested in Isolation. This seems like everything is mocked and we are not even testing anything except working of pact
@AModernCTO
@AModernCTO 3 года назад
Unfortunately the sound quality is terrible.
@sindhesonali
@sindhesonali 3 года назад
Hi.. Thanks for such a informative video..I need to understand here, as part of consumer side we are only setting up expected response through Mock test (in your case fields like brand, name and price )so here we will be testing the provider whether it will match the response that we have added through Mock service. So my question is if I want to test a microservice, I should always keep that as a provider and not consumer??
@ganesh221b
@ganesh221b 2 года назад
Not necessarily, here the consumer had unit tests too after which only the contract tests are run. But ideally the if service A calls/depends on service B then here consumer is A and B is provider
@ck.hodophile
@ck.hodophile Год назад
It's a mutual contract, so as a consumer I know what I want to consume, and as a provider I should adhere to the contract.
@BrownBeardInspires
@BrownBeardInspires 2 года назад
can we publish a contract without using mvn command(i was working on a maven project). i wanted to automate it without usinf commands through terminal
@ishansethi8462
@ishansethi8462 Год назад
were you able to automate it?
@virusehwag9562
@virusehwag9562 2 года назад
Thankx!!
@hananurrehman
@hananurrehman 2 года назад
You're showing pre-written code. Nothing step-by-step.
@Walery1024
@Walery1024 8 месяцев назад
JetBrains' IntelliJ IDEA is what the project was opened with....
@santoshgupta7446
@santoshgupta7446 Год назад
Very informative. Thanks
@onlinetrainingacademy7684
@onlinetrainingacademy7684 Год назад
Good one thanks
@rdonbosco
@rdonbosco 2 года назад
am not seeing ProductPactTests skipping verification results not sure why "2022-04-25 21:33:23.513 WARN 13848 --- [ main] a.c.d.p.p.junit.InteractionRunner : Skipping publishing of verification results (pact.verifier.publishResults is not set to 'true') can you please help debug?
@rdonbosco
@rdonbosco 2 года назад
below properties are there in the build.gradle file systemProperty 'pact.verifier.publishResults', 'true' useJUnitPlatform()
Далее
Contract Testing using Pact | vodQA Chennai 2020
49:00
titan tvman's plan (skibidi toilet 77)
01:00
Просмотров 4,4 млн
Contract Testing For Microservices IS A MUST
18:36
Просмотров 29 тыс.
Pact Contract Testing for Quarkus
1:11:49
Просмотров 4,6 тыс.
Consumer-driven Contract Testing using Postman
30:47
Просмотров 31 тыс.
Spring Cloud Contract (HTTP)
42:19
Просмотров 16 тыс.
Contract testing with Pact and Quarkus by Holly Cummins
40:09
How software testers can test microservices
25:56
Просмотров 29 тыс.