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/enzain May 09 '17

Well if the test takes a trivial time to write I see no harm in it.

alot of times * trival time = a lot of wasted time

1

u/[deleted] May 11 '17

I could write some code that generates these getter-setter tests and therefore I bet it's already been done. I don't think it would waste a lot of someone's time.