
Discover contract testing with Pact to validate microservices communication, place contract tests in the unit testing layer of the test pyramid, and learn to set up pact-based tests and environments.
Explore the differences between monolithic and microservices architectures. See how monoliths centralize code and database, while microservices enable loose coupling, independent databases, and isolated deployments for each business function.
Explore why microservices demand dedicated integration testing in an agile world, contrast with monolithic testing, and introduce Pact as a tool to catch contract breaks before deployment.
Learn how Pact contract testing validates only the fields you consume, such as price, avoiding breaks when unused fields change.
Learn how to update provider state for Pact contract testing, manage database interactions with Spring Boot JPA, and design pre and post request interactions with mock responses to validate contracts.
Discover how Pact Flow functions as a broker between consumer and provider, centralizing contract files on a Pact Flow server and access via a unique URL and tokens.
" Contract Testing " is one of the most buzzing word in the Software Industry especially in the projects which relies heavily on Microservices Architecture.
Contract testing is the Modern way of testing communication/Contract between two any Systems (Such as Microservice, Angular NodeJS, Java Apps). In Agile world, Contract Testing is heavily used in the bottom of the Test Pyramid to identify the bugs in early development cycle.
***For More details, Please watch Preview lectures of this course to get detail understanding of how and Why Contract Testing****
In this course, We shall be using Pact Contract testing tool (Java Library) to test the inter communication contract between Microservices
What this Course offers?
This course helps you to understand all the concepts revolving around Contract testing first to make you realize the importance of having these tests in the Projects
And then introduces the Contract testing tool called Pact and gets deep dive into writing Consumer & Provider driven Contract tests to test Microservices Inter communication.
I will also show you different helper orchestrator tools available such as Pactflow to centrally manage Contract files across the Projects.
On course completion, You will have thorough understanding of how Microservices communication works internally and how can we test this communication using Pact Contract Testing tool.