All jobs / Backend developer / Testing

Backend developer interview question · 5+ years

Three teams call your service. Twice this quarter one of your releases broke one of them, and nobody noticed until their alerts fired.

What would consumer-driven contract tests give you here?

The strongest answer

Each consumer publishes the requests it makes and the response fields it relies on, and your pipeline verifies every published contract before release — so CI tells you which consumer you would break, and which fields nobody uses

Why it works

Exactly — and the second half matters: contracts show which fields nobody relies on, which is how you get to delete things safely.

What a good answer covers

Answers that fall short

Who gets asked this

More Testing questions