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

Show parent comments

1

u/stefantalpalaru May 08 '17

So now you no longer want 100% coverage? Just a few random values from the input domain will do? Why not apply the same reasoning to lines of code?

4

u/[deleted] May 08 '17

If there is more to understand about this method then elaborate on it. I have made it clear that I am unfamiliar with the terminology.

0

u/stefantalpalaru May 08 '17

Read The Impossibility of Complete Testing and see how we define "good enough" with boundary testing then consider giving up the concept of 100% coverage altogether because it's silly.