Testing · Junior · Question 12 of 78

Is 100% coverage a good goal on its own?

Explanation

Martin Fowler: coverage is useful for finding untested code, but a poor target. High coverage with weak assertions gives false confidence.

Further reading

Problem with a question

Testing · Junior · question 12

Test yourself

Take the Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz