Testing · Junior · Question 12 of 78
Is 100% coverage a good goal on its own?
- ✓Correct answer: No: it is expensive and doesn't guarantee meaningful checks; cover important behaviour first
- 2Yes: below 100% the code can't be released
- 3Yes: 100% coverage means there are no bugs
Explanation
Martin Fowler: coverage is useful for finding untested code, but a poor target. High coverage with weak assertions gives false confidence.