News for hackers. Stuff that matters.
Re:Write tests. Not too many. Mostly integration (2017) by AtlasBarfed on Friday February 01, 2019 @04:24PM (#19058787)
100% code coverage is a breadth-first metric, and generally sacrifices in depth-first testing (especially of the "core loop" as in 80% of the time is spent in 20% of the code is sacrificed).

The decidability/halting problem hints that perfect testing is an impossibility for systems of any complexity, as in not just too big of a big-O... it's flat out not possible on a turing machine of any power.

That doesn't mean give up all testing, but there is a LOT of dogma in testing philosophy.

There are no comments on this comment yet.