zlacker

[parent] [thread] 2 comments
1. Graffu+(OP)[view] [source] 2021-10-27 20:08:02
So one argument against code coverage requirements is that poor engineers won't test correctly. Without the code coverage requirements you're in the same situation.
replies(2): >>crysin+f8 >>manque+Pt
2. crysin+f8[view] [source] 2021-10-27 20:53:55
>>Graffu+(OP)
Problem is with 100% code coverage of badly guarded / implemented code you'll have a fall sense of security if you're just looking at coverage as the metric of quality. Anytime I've worked with a company who had a required code coverage percent, they never actually cared what the code being covered looked like only that it was covered in some test.
3. manque+Pt[view] [source] 2021-10-27 23:21:46
>>Graffu+(OP)
Without going down the rabbit hole of Goodhart's law, code coverage % is a poor metric particularly when used standalone.
[go to top]