QA Fundamentals · Senior · Question 69 of 76

What is the main risk of relying only on code coverage targets in a team?

Show the answer

Correct answer: Teams write tests to hit numbers instead of checking behaviour

Explanation

Goodhart's law: when a measure becomes a target, it stops being a good measure. Coverage is useful to find untested areas, not as a quality guarantee.

Further reading

Problem with a question

QA Fundamentals · Senior · question 69

Test yourself

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

Take this quiz