Backend & systems·Testing and test doubles
the consumer's expectations are recorded and replayed against the provider's build, so nobody breaks the other by surprise.
Contract test
Also calledconsumer-driven contract, Pact
A test asserting that a provider satisfies the specific expectations of its consumers, run in the provider's pipeline. It catches integration breakage without a full end-to-end environment, which is the trade that makes it worth the setup. It only covers the interactions consumers actually declared.