QA Fundamentals · Middle · Question 11 of 75
Why is high code coverage alone not proof of good tests?
- 1Coverage tools always report numbers that are too high
- 2Coverage only counts tests written by testers, not developers
- 3Code can run in tests without its results being checked
Show the answer
Correct answer: Code can run in tests without its results being checked
Explanation
A test that calls a function but asserts nothing still increases coverage. Mutation testing or reviewing assertions shows whether tests would actually catch bugs.