Testing · Senior · Question 14 of 75
Why can coverage targets backfire as a KPI?
- ✓Correct answer: Teams start writing tests that execute code without meaningful assertions just to raise the number (Goodhart's law)
- 2Coverage tools slow down production
- 3Coverage can't be measured in TypeScript
Explanation
Use coverage to find untested areas and review them, not as a pass/fail goal for people.