...by the way, Test Tools and/or your own test scripts can be buggy, too (here a false negative).
...in the meantime, I found out under which conditions this situation occurs. In the NUnit Test Automation Framework, even if all your test scripts were running fine the whole suite may report a failure if someting goes wrong outside the test suite. The TearDown function is such a method that gets called automatically after each script and/or after the suite is completed. At that point, all scripts reported already a successful run, but the TearDown can still throw an exception if for instance your implementation invokes a call of a null object (null pointeer exception). In such case, NUnit reports a failed suite although all child scripts were passing all tests.
Maybe the test scripts are revolting because they can never be used usefully to test :)
ReplyDeleteOh, they can...but they're like little children. If you don't take care of them, they will do what they want...=;O)
ReplyDeleteLove the cartoon. Would like to contact you about permission to use in a slide for a public talk (with attribution of course).
ReplyDeleteHi testmuse
DeleteNo problem, you can use it. Go ahead and thanX for mentioning the site
Best regards
Torsten