AFAIK, mutation testing implies tests that automatically modify (mutate) your code and checks how that affects/breaks existing functionality... Or something along those lines :D
However, it's only (fairly) easy to do for simple code. Realistic (i.e. complex) code requires a fair amount of AI for it to actually be useful.
That's the reason why it's not so popular.
But it would most certainly be a lot more useful than simple code coverage.
You have to learn about mutation testing.
It test your test to be sure it's reliable..
AFAIK, mutation testing implies tests that automatically modify (mutate) your code and checks how that affects/breaks existing functionality... Or something along those lines :D
However, it's only (fairly) easy to do for simple code. Realistic (i.e. complex) code requires a fair amount of AI for it to actually be useful.
That's the reason why it's not so popular.
But it would most certainly be a lot more useful than simple code coverage.
You don't have to code anything, you just pass the test directory as an argument and the mutation testing test everything for you.
You have nothing to do ! It's not popular because test aren't so much and the process is long. Really long. It can take up to 20 minutes at first run.
That sounds neat.
I'm going to research about this subject a bit more.