Consumer-Driven Contracts

Back to Contract Testing

The consumer (client) defines the contract specifying what it expects from the provider (server). The provider runs these contracts in its CI pipeline to ensure it does not break consumers. Pact is the most popular framework.

property testing consumer-driven