logoalt Hacker News

chriswarbotoday at 2:28 PM1 replyview on HN

> a pass where there wasn't coverage

I always feel obliged to point out that we can have 100% coverage without making a single assertion (beware Goodhart's law)


Replies

n2d4today at 2:48 PM

True, but you can't have complete tests without 100% coverage. It's a necessary, but not a sufficient condition; as long as it doesn't become the sole goal, it's still a useful metric.