API Testing · Senior · Question 3 of 75
What is the main risk of contract tests written by the provider team only?
- 1They test what the provider thinks clients use, not what they use
- 2Provider teams can't write tests in the consumer's language
- 3They make the provider's pipeline much slower than usual
Show the answer
Correct answer: They test what the provider thinks clients use, not what they use
Explanation
Consumer-driven contracts capture real usage. Provider-only contracts often miss fields a client depends on, or test fields nobody uses.