Adrian Howard wrote: > > On 14 Mar 2009, at 05:57, Michael G Schwern wrote: > [snip] >> The test numbering exists to ensure that all your tests run, and in >> the right >> order. XUnit frameworks don't need to know the number of tests >> because they >> simply don't have this type of protection. [1] > [snip] > > And, to some extent, need it less. Since most xUnit systems have the > test-result-producer and the test-result-consumer running in the same > process space - some of the problems that plans help with (like early > termination) aren't really much of an issue.
In that your whole testing process crashes and you get no results? ;) Early exit isn't the practical reason for plans, the harness watching the exit code of the test process handles everything but an actual exit(0) and those are very rare. The real problem is a logic or data error which results in some tests being accidentally bypassed. I suppose what really covers their ass is that by being broken up into test_* routines each test function is isolated and their code is simpler and less likely to have a logic error that results in a test never being run. -- 44. I am not the atheist chaplain. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/