4 ms·
Actually: It tells you some things that are not tested properly. Just because something has coverage doesn't mean that it is tested properly as evidenced by th
by kevincox 4y ago
Actually: It tells you some things that are not tested properly.
Just because something has coverage doesn't mean that it is tested properly as evidenced by this bug even though sqlite has 100% branch coverage.
- Macha 4y agoYeah, coverage (or rather 100% - coverage) is basically a lower bound on what's not tested.
- masklinn 4y agoEven "coverage" is not enough, what 100% coverage? Lines? Branches? Paths?
- Macha 4y agoThat's my point, coverage (whatever your chosen metric) can only prove the absence of tests, not their presence e.g. if your coverage is 80%, then you know (100-80)% = 20% is definitely not tested since it never even ran in your tests. It doesn't tell you much about the 80%