On 4/3/2013 11:44 AM, Jonathan M Davis wrote:
Yes. My point was that 100% should be the goal, whereas I know a number of developers who consider something like 70% to be sufficient - and these are folks who actually believe in writing unit tests. Certainly, expecting to hit 100% with -cov on the first try isn't generally very realistic unless you're always extremely thorough with your tests, and even then, it's easy to miss a line or two on rarer branches, especially as functions become more complex.
Cov testing also has a tendency to expose dead code - not just insufficient unit tests.
