Contract Testing in Action

Marie Cruz, Lewis Prescott

Contract Testing in Action
Format
Hardback
Publisher
Manning Publications
Country
United States
Published
31 December 2024
Pages
304
ISBN
9781633437241

Contract Testing in Action

Marie Cruz, Lewis Prescott

Contract testing is a simple, reliable way to make sure that each service and API plays nice with other components so you can deploy independently and safely.

In a microservices-first world, traditional testing struggles to keep up with all the potential interactions in a large, loosely-coupled system. Contract testing checks the compatibility of an API or service by validating it against an agreed contract. This straightforward method uncovers integration issues early and adds valuable transparency to compatibility expectations.

In Contract Testing in Action you'll learn:

The core concepts and practices of contract testing Testing microservices with Pact Consumer-driven and bi-directional testing Building a contract testing framework Converting API integration tests to contract tests

Contract Testing in Action introduces the practice of contract testing through engaging hands-on examples. You'll learn how to introduce contract tests for multiple different types of communication, from REST APIs to GraphQL. By the end of this practical guide, you'll be comfortable with advanced contract testing concepts like can-i-deploy, provider states, and webhooks. You'll even get tips on how to introduce contract testing to your team and other business stakeholders.

Order online and we’ll ship when available (31 December 2024)

Our stock data is updated periodically, and availability may change throughout the day for in-demand items. Please call the relevant shop for the most current stock information. Prices are subject to change without notice.

Sign in or become a Readings Member to add this title to a wishlist.