3 ms·
But... we do all secretly agree that if it isn't pretty high, then the testing isn't doing much, right? No, sorry, not even close. To me, measuring the value
by Silhouette 12y ago
But... we do all secretly agree that if it isn't pretty high, then the testing isn't doing much, right?
No, sorry, not even close.
To me, measuring the value of a test suite by code coverage is like measuring the productivity of developers by lines of code. It's just not what actually matters.
For example, it's well known that bugs in code tend to cluster. Given a large system where some parts are inherently complex and therefore error-prone but most of the code is routine boilerplate stuff, I would much prefer to see test effort concentrated on the challenging areas.
- collyw 12y agoIf you write 100% code coverage, you will probably have a lot more lines of code.