3 ms·
I think that mutation testing should replace code coverage. It really ensure that the test verify the code behavior and not only invoked it.
by gontard 9y ago
I think that mutation testing should replace code coverage. It really ensure that the test verify the code behavior and not only invoked it.
- AstralStorm 9y agoThe trouble with mutation testing is that most mutations will completely break an application. Why not prove the code is correct instead? Should be much cheaper than 100% coverage and more certain.
- 0hjc 9y agoWhy do you say most mutations will completely break an application? This is certainly not my experience. Mutation testing systems normal use fairly stable operators (e.g changing a > to a >=). In most locations in the code changes such as these will have only a subtle effect.