9 Contract testing
This chapter covers
- What contract testing is and how it can help
- How to build and publish a consumer contract test
- How to build and verify a provider contract test
Imagine a situation in which you and your team are part of a larger organization, and you are responsible for a subset of web APIs in a wider API platform. Your team has worked hard to establish some robust testing activities, and you’re about to release a new feature. The conversations before development began were productive, the exploratory testing sessions revealed lots of information, and all the automated checks are green as part of the build pipeline. You deploy the APIs only to discover that as soon as the deployment is complete, the platform falls over, ...
Get Testing Web APIs now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.