DEV Community

Discussion on: Do you aim for 80% code coverage? Let me guess which 80% you choose...

Collapse
 
recursivefaults profile image
Ryan Latta

Code coverage always sparks a good debate.

I like using it with teams to reflect on coding/testing practices. So we're at 80%, what would it mean to get to 85%?

It isn't the % that really matters because, as you've stated, the type of tests and the reason they exist matter more. I use the coverage to coach through those assumptions.