logoalt Hacker News

cedws06/04/20253 repliesview on HN

Test coverage as a target metric is stupid.


Replies

g7r06/04/2025

Maybe so. However, it is really really handy when you are assessing the completeness of your tests using code coverage, and can clearly see unhandled negative paths. And then you can decide whether some of them deserve dedicated tests or not.

MeetingsBrowser06/04/2025

why?

show 1 reply