---
id: contract
requestedLanguage: en
descriptionLanguage: en
---

# Consumer-driven Contract Testing

- Type: testing technique
- Group: Verification
- Placement: Verification / Objectives and strategy
- [Source](<https://docs.pact.io/>)

[HTML](https://dpm.cnonim.name/practices/contract/)

Checks that an API provider's interactions are compatible with specific consumer expectations.

## Relationships

- checks agreements during: [API-first design](/practices/api/en.md) (verification)
- may verify: [Backward Compatibility](/practices/compatibility/en.md) (verification)
- may run within: [Continuous Integration](/practices/ci/en.md) (support)
- complements: [Integration Testing](/practices/integrationtest/en.md) (combination)

[Show on the map](https://dpm.cnonim.name/#practice=contract&lang=en)
