jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rod Macpherson" <rmacpher...@abovehealth.com>
Subject Execution Order
Date Tue, 20 Sep 2005 16:55:27 GMT
JUnit lacks execution ordering and, by extension, so does Cactus. Test
independence is clearly desirable but, ironically, execution order does
not imply test dependency. That is to say execution order is an
independent notion. 

Let's say I have a dozen tests. They all run independently, however, all
the tests are dependent on the code excersied by the first test. Again,
they aren't dependent on the first test but rather the code that test
exercises. So, it makes a heckuvalotta sense to run the first test first
and bail out early. Any way of ordering execution? Perhaps that too
dangerous in that dependencies might bleed through? 


View raw message