News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration (2017) by perfunctory on Thursday January 31, 2019 @04:09PM (#19048899)
> 100% coverage doesn't mean much

That's absolutely right. 100% coverage doesn't say much. In fact, by itself it's a pretty meaningless measure of code quality. But the top-down idea still holds. In practice bugs are more likely to happen at the seams between components, and therefore it's where one should test first, not last. It of course depends on the type of the project but I believe it's true for the majority of projects out there.

Re:Write tests. Not too many. Mostly integration (2017) by achamayou on Thursday January 31, 2019 @05:07PM (#19049420)
100% means nothing, but 30% means something is wrong. Coverage tells you nothing, but the absence of coverage is interesting and useful.