ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: run junit tests in a certain order
Date Thu, 27 Nov 2003 15:16:30 GMT
On Wed, 26 Nov 2003, J. Xue <> wrote:
> Quoting Stefan Bodewig <>:

>> An alternative to your approach is to explicitly use <test>
>> elements for the tests that need a certain order and exclude them
>> from the <batchtest> that contains the rest.
> I do realize I have this option, but then I'd have to hardcode the
> test order in build.xml.

But only for the few files that would fail quickly - or alternatively
for the few files that run really really long (put the single <test>s
after the <batchtest>).

> Another disadvantage is that since I always fork the runner VM,
> having a lot of <test>/<batchtest> elements would tend to slow down
> the build.

Absolutely, yes.

I'll try to make that one forked VM for all tests in 1.7 (as an
option), but we are not there yet.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message