DEV Community

Discussion on: How do you measure and discuss the less measurable things about testing code?

Collapse
 
noahsussman profile image
Tentacular Devops 🐙

Test coverage is a good metric if you don't have any other metrics for code quality. As other metrics are developed, I try to let code coverage slip to the background.

Of those "other metrics" I primarily rely on static analysis feedback either from CI or from a service like Bugsnag. Static analysis outs conditions like unreachable code, missing-or-extra-parameters — unit tests won't help with finding issues like that.