DEV Community

Discussion on: The Myth of Code Coverage

Collapse
 
integerman profile image
Matt Eland

This is a huge point. I love it. Yes, you can automate some of these tests, particularly with enums. I picked a few readily available examples from my own hobby code to discuss.

Fuzz testing, test data generators, and looping over all possible values won't find everything, but it's something to strongly consider.