Skip to content
Preptima
hardScenarioCase StudyMidSeniorStaffLead

Every test passed and the release broke in production anyway. How do you work out what your suite was never going to catch?

6 min readUpdated 2026-08-15Target archetype: Big Tech, Enterprise Captive, Product Startup

Answer

Short answer

Reconstruct the defect's exact path, then ask at which layer a test could have seen it and why none did, distinguishing a missing case from a whole condition your environments cannot reproduce, and fix the class rather than adding one test for this instance.

Was this answer helpful?

Likely follow-ups

  • The condition only exists in production and you cannot reproduce it anywhere. What do you do instead of testing for it?
  • How would you decide whether this escape justifies changing the release process rather than the suite?
  • Two escapes in a quarter came from the same subsystem. What does that change?
  • What would you say to a stakeholder who concludes from this that the tests are worthless?

Related questions

Related Topics