Contract testing verifies that two services agree on their API without running them together in a full integration test. In consumer-driven contracts (CDC), the consumer defines what it needs, and the provider verifies it can deliver it.
The problem
Full end-to-end tests across many services are slow, flaky, and hard to run on every commit. Contract tests catch breaking API changes early, in isolation.
