Practice free →
HomeSoftware TestingSoftware Testingmicroservices_cloud_observability › Consumer driven contract testing (e.g., Pact) ve…

Consumer driven contract testing (e.g., Pact) verifies that

AProvider continues to meet consumer expectations
BConsumer code never changes without provider
CBoth consumer and provider use one repository
DBoth consumer and provider use the same OS
Answer & Solution
Correct answer: A. Provider continues to meet consumer expectations
CDCT records consumer expectations as a 'pact' file. The provider runs these contracts in its pipeline; if the provider breaks a consumer contract, the build fails BEFORE the change ships. Catches integration regressions early.
Solve this in the app — Software Testing practice & 24k+ MCQs →
Related questions