I'd back this up 100% btw.  I think that Scott has been working on some stuff 
here that may be of interest to everyone - with some really nice data rollback 
capabilities.  These dependent tests are not a good idea IMHO and we should 
make each one standalone.  If you need to load similar (or even the same) data, 
no worries, that's why the loads should be in data files not in the tests 
themselves - so that they're reusable.

Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

----- "Adam Heath" <[email protected]> wrote:

> A junit test case is supposed to be completely stand-alone.  It
> should
> not depend on any other test case running previously.  However, the
> service test suite(framework/service/testdef/servicetests.xml)
> requires the data load test case to run, then each test case to run
> in
> series.  This is wrong.
> 
> I'm going to modify the test system to support having multiple
> children.  <test-suite> currently only has <test-case> as a child.
> I'm going to add <test-group>, which can then have multiple children.

Reply via email to