skip to main content

gerg.dev

Blog | About me

Tag: mutation testing

A demonstration of Mutation Testing

Test coverage is one of the simplest possible metrics to help gauge quality of testing, which makes it one that is often targeted with rules like “don’t commit any code with less than 80% coverage”. However, it is also an easy metric to manipulate, and doesn’t necessarily prove anything about the quality of the tests… Read more

All your automated tests should fail

A crucial little caveat to my statement that automated tests aren’t automated if they don’t run automatically: All your automated tests should fail. … at least once, anyway. In the thick of implementing a new feature and coding up a bunch of tests for it, it’s easy to forget to run each one to make sure they’re… Read more