How does eBay utilize Contract Testing for their Microservices?

  Переглядів 2,439

Software Developer Diaries

Software Developer Diaries

8 місяців тому

What is Consumer-Driven Contract Testing and how could eBay use it to improve testing their Microservice APIs with Pact? Let's dive into the theory of Contract Testing, the potential benefits of using it, and some practical examples.
Consider supporting the channel by clicking the "Thanks" button ❤️
🙌 Become my Patreon and get exclusive perks: / softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you'd like: / gusgadirov
💻 Also, let's connect on GitHub: github.com/gusgad
📚 Resources:
Original article: tech.ebayinc.com/engineering/...
Pact: github.com/pact-foundation/pa...
And don't forget to subscribe for more videos like this 😊

КОМЕНТАРІ: 6
@nlsndev
@nlsndev Місяць тому
Really informative, thx !
@arifmmdv4612
@arifmmdv4612 8 місяців тому
I just found your channel, and its great, keep on
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 8 місяців тому
Thanks buddy!
@HemantJadhav-vv4rx
@HemantJadhav-vv4rx 7 місяців тому
Great sir❤
@aprilmintacpineda2713
@aprilmintacpineda2713 7 місяців тому
How is this different from API testing? How does this compare to API testing? Because it seems like we're already doing this in Cypress API testing, all be it there's no "broker" but it's exactly the same concept, you call an API and check that the response follows a particular shape. On the other end, you call an API and mock whatever other API calls it makes.
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 7 місяців тому
API Testing is much broader and ensures that services and their dependencies are well-integrated with each other and produce the right result. For example, one service might request data from another one and API testing with Cypress would verify that. Contract testing on the other hand has a smaller scope, I would say on a single team level. If a team wants to avoid setting up the dependencies (services) from other teams and test their stack in isolation then Contract Testing would be preferred. At the end of the day both are necessary, but API Testing (or what you decsribed can also be called a system-test) lives higher on the testing pyramid, while Contract Testing is lower, since it's less constly to write and execute.
Behind the scenes of Notion's Data-Model
15:50
Software Developer Diaries
Переглядів 2,1 тис.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Переглядів 3,5 тис.
Contract Testing using Pact | vodQA Chennai 2020
49:00
vodQA - a forum for software testing enthusiasts
Переглядів 10 тис.
Don’t Do E2E Testing!
17:59
Continuous Delivery
Переглядів 147 тис.
Testcontainers have forever changed the way I write tests
12:11
Dreams of Code
Переглядів 86 тис.
Pact Contract Testing for Quarkus
1:11:49
IntelliJ IDEA, a JetBrains IDE
Переглядів 3,9 тис.
Elegant Acceptance Testing in .NET with SpecFlow
18:36
Nick Chapsas
Переглядів 27 тис.
Consumer-driven Contract Testing using Postman
30:47
Valentin Despa
Переглядів 30 тис.
When To Unit, E2E, And Integration Test
14:58
ThePrimeTime
Переглядів 84 тис.
Contract testing with Pact and Quarkus by Holly Cummins
40:09
Devoxx
Переглядів 1,7 тис.
Рекламная уловка Apple 😏
0:59
Яблык
Переглядів 731 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 1,8 млн
Нужно ли чистить ПК от пыли?
0:59
CompShop Shorts
Переглядів 101 тис.