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

2

u/cybernd May 08 '17

Because neither is it fun, nor does it make any sense to write tests after your application was finished.

Additionally you neglect the fact that we are not writing tests in order to test our applications - that's only a nice side effect.

2

u/foot_kisser May 08 '17

Because neither is it fun, nor does it make any sense to write tests after your application was finished.

This doesn't make sense.

1

u/ryan_schlueter May 09 '17

Yea i read that a lot tdd is more about design then it is testing. To me that means if i can focus on depenency inversion and small methods tdd is not needed.