67. A team has high line coverage but frequent escaped defects. What would you examine?
MediumTesting & engineering practice
Technical
Show model answer
Inspect recent defects and map them to missing behaviors, weak assertions and untested boundaries. Coverage shows execution, not whether a test would detect an incorrect result. Look for mocks that bypass the failure path or reproduce the implementation.
Add targeted regression tests at the lowest useful layer and strengthen a small number of end-to-end checks for critical journeys. Evaluate whether these checks would have caught past defects rather than increasing the coverage target without a failure model.
What interviewers listen for
- Analyze escaped defects
- Assertions over percentages
- Critical boundary coverage