2 ms·
100% code coverage is a mirage. Even Kent Beck, who originally popularized TDD, long ago advised against it. What you want is 100% branch coverage of your logic
by ternaryoperator 8y ago
100% code coverage is a mirage. Even Kent Beck, who originally popularized TDD, long ago advised against it. What you want is 100% branch coverage of your logic. But spending time writing test for simple getters and setters, for example, is purely wasted time.