Comment

Comment by IshKebab

100% code coverage doesn't guarantee there are no bugs, but less than 100% code coverage does mean that there is code that you definitely aren't testing.

To put it another way, code coverage isn't a direct measure of how good your testing is, but it is still a useful metric to try and improve.

In most cases 100% is too hardcore a target, but you should probably aim for at least 80%.

parent IshKebab 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton