People often say something like
But if the test code isn't robust, it might fail to detect a real coding error.
Certainly possible, but unlikely in my experience.
I think people are thinking like this:
If the test is right and the code is right, the test will pass
If the test is wrong or the code is wrong, the test will fail
But if the test is wrong and the code is wrong, the test might pass
|Next||Copyright © 2004 Mark Dominus|