Ideally, commenting out any part of your code will produce a test failure. Mutation testing works on this principle.
miniblog.
Related Posts
What are the most interesting upcoming scripting languages? Scripting remains an important part of the programming language ecosystem.
Optimise time to first feature. Allow mutation of the running system to experiment. Interactive inspection of data.
I love the idea of mutation testing, but changing my code in arbitrary ways, then running it, is scary. Many PLs don't have a good sandbox available.
Pitest is a nifty mutation testing tool. It focuses on mutating expressions covered by unit tests, maximising speed!