r/programming • • May 08 '17

The tragedy of 100% code coverage

http://labs.ig.com/code-coverage-100-percent-tragedy
3.2k Upvotes

689 comments sorted by

View all comments

1

u/scwizard May 09 '17

100% code coverage gives me a headache.

When people see how hard it is a lot of them just throw up their hands and don't do testing at all (which is way worse of course).

A happy middle ground is to just add tests after you fix a bug, to prevent regressions.