Skip to content
CodeKruPro

Who does what in consumer-driven contract testing?

QuizMedium-Hard

In consumer-driven contract testing (for example with Pact), which statement is correct?

  • The consumer's tests produce the contract; the provider verifies its real API against that contract in its own pipeline
  • The provider writes the contract and the consumer never runs any tests
  • Both services must be deployed together for every contract test
  • A contract test checks the full business flow across all services

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in