2 ms·
Uncovered code tells you something useful. That there are no assertions made about some code. Covered code tells you nothing. It tells you this code may or may
by nonethewiser 4y ago
Uncovered code tells you something useful. That there are no assertions made about some code.
Covered code tells you nothing. It tells you this code may or may not have assertions made about it.
Tracking coverage is good because it shows you what code isnt tested. But once its covered, you have no idea. So instead of increasing coverage, you should be evaluating the new assertions being made to uncovered code. But virtually everywhere I've been has just used coverage going up to mean your tests are sufficient.