The SDET Playbook

← All questions

What test coverage number is actually meaningful, and is 100% a good goal?

Asked Sep 28, 2026Viewed 0 times

1 Answer

Sign in to answer and to vote.

  • 0
    The SDET PlaybookSep 28, 2026

    100% is not a good goal. Google's guidance treats about 60% as acceptable, 75% as commendable and 90% as exemplary, but says there is no universal ideal number and that chasing the last few points gives diminishing returns. Coverage only shows that lines ran, not that they were asserted correctly, and the value is mostly in showing what is not covered. Better practices are high coverage on changed code (per-commit goals of 90% or more are reasonable), reviewing uncovered lines in code review, and using mutation testing to check test strength. Fowler also advises against testing trivial getters and setters just to hit a number.

    Sources: Google Testing Blog, Fowler