3 ms·
OK, I'll give it a shot. This isn't a criticism of TDD per se, but of over-reliance on code coverage tools. Because it's easy to measure whether you're exercis
by brlewis 11y ago
OK, I'll give it a shot. This isn't a criticism of TDD per se, but of over-reliance on code coverage tools.
Because it's easy to measure whether you're exercising every code path, software engineers think in terms of how close they are to "100% coverage" of tests. What you really should be thinking about is whether you're exercising every possible input, not every possible code path.
https://twitter.com/brlewis/status/553191394639360000 https://twitter.com/brlewis/status/553191394639360000