3 ms·
Coverage can tell you what you didn't test, but it can't tell you what you did test. > Any test that exercises a given branch is better than nothing. I disagr
by lmm 5y ago
Coverage can tell you what you didn't test, but it can't tell you what you did test.
> Any test that exercises a given branch is better than nothing.
I disagree with this. If you have a test that doesn't actually test anything, you can't tell that you're not really testing that branch. No test is better than a bad test because it's easier to fix.