# What is a consumer-driven contract test?

> A consumer-driven contract captures what a client expects from a service. A timetable app shows how provider verification catches a field type change.

Source: https://cueapril.com/knowledge/definitions/consumer-driven-contract
Updated: 2026-12-02
Index: https://cueapril.com/llms.txt

## What is a consumer-driven contract test?

A consumer-driven contract describes an interaction a client relies on and lets the service that provides it verify that expectation against its own implementation. A verification result identifies the consumer contract and provider version that were checked together.

## Whose expectation goes into the contract?

Capture what the consumer actually uses, including the starting state, request and response fields it needs. Allow unrelated fields to evolve where the consumer can tolerate them. Run the interaction against the provider and repeat it for consumers whose older versions are still in use.

## Worked example: An older app still needs a departure platform

A timetable app displays platform “4B” as text. Its contract can require a text platform value for a scheduled departure. A provider verification then detects a change to a numeric platform value before that provider version reaches people using the older app.

## Try it on your pull request

Choose a change in your repository and tell Cue April what should happen. Review the proposed checks before they run.

[Try Cue April on your repository](https://app.cueapril.com/sign-up/?next=%2Fquality-start)

## Related reading

- [How to verify a consumer-driven contract](https://cueapril.com/knowledge/how-to/verify-a-consumer-contract)

- [Test double](https://cueapril.com/knowledge/definitions/test-double)

- [Choose where to test each risk](https://cueapril.com/knowledge/playbook/design-the-test-portfolio)

[Browse the Knowledge base](https://cueapril.com/knowledge)
