Contract Testing in Action cover
welcome to this free extract from
an online version of the Manning book.
to read more



Thanks for purchasing the MEAP of Contract Testing in Action: With Pact, PactFlow, and GitHub Actions.

This book is written for developers & testers familiar with integration testing and ready to start their contract testing journey.

Contract testing is a powerful tool that helps build confidence and provide early feedback while testing within microservices. By the end of the book, you should be able to:

  • Understand the core concepts of contract testing and why it’s needed
  • Know the difference between consumer-driven and bi-directional contract testing
  • Design and construct an end-to-end contract testing framework using Pact, Pactflow, and GitHub Actions
  • Implement advanced contract testing concepts such as can-i-deploy, provider states, webhooks, versioning, and environments to leverage all the benefits of contract testing
  • Convert end-to-end API tests to contract tests that contribute high value within an automation testing strategy

The book is divided into three parts. Part 1 will go through the theory of contract testing while teaching you the core concepts that are often not fully understood. You may know the basics of contract testing already, but we'd encourage you to nail down the terminology and foundations anyway, as a key part of succeeding with contract testing is being able to confidently sell the concept to stakeholders.