4 ms·
.. and combined with coverage they also tell you what you are yet to test properly.
by aa-jv 4y ago
.. and combined with coverage they also tell you what you are yet to test properly.
- fulafel 4y agos/properly//
- kevincox 4y agoActually: 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%