back

by pwim·8y ago·view on hn ↗
The author of the post agrees with you that library code is different:

> I should mention that almost all of my open source projects have 100% code coverage. This is because most of my open source projects are smaller libraries and tools that are reusable in many different situations (a breakage could lead to a serious problem in a lot of consuming projects) and they’re relatively easy to get 100% code coverage on anyway.

1 comments
The thing is, everything that survives becomes a library, as someone will always find a way to try to reuse it.
Let them write the comprehensive test suite, then. Your reasoning is a classic context for YAGNI.