consumer-driven contract testing

A contract-testing approach in which each consumer records the requests and responses it depends on, and the provider verifies it still satisfies all of them.

In more detail

It protects the fields and statuses real callers use rather than every detail of the implementation, so providers can change freely inside those promises. Tools such as Pact record consumer expectations and replay them against the provider.

Related terms

Taught in

References