How to test the tests?
- by Ryszard Szopa
We test our code to make it more correct (actually, less likely to be incorrect). However, the tests are also code -- they can also contain errors. And if your tests are buggy, they hardly make your code better.
I can think of three possible types of errors in tests:
Logical errors, when the programmer misunderstood the task at hand, and the…