Skip to content
Sharp

Testing · interview question

Which move is the best default when api contract testing becomes part of this workflow?

Multiple choiceHardchapter-13-curatedpremiumtestingapi-contract-testing
Choose one answer
Answer and explanation

Correct answer

B. Use boundary tests to prove routing, validation, status codes, and serialization rather than trusting the framework blindly.

Why

Use boundary tests to prove routing, validation, status codes, and serialization rather than trusting the framework blindly. That is the stronger engineering move because interviewers like candidates who know which parts of the stack deserve their own testing seam. Assuming the framework will do the right thing without verification leaves the contract under-proven.

Test yourself on Testing

A free test with instant, explained results. No account needed.

Start free test
All Testing questions →