squashphile (1) [Avatar] Offline
The batchtest method that you describe in listing 5.5, page 101 seems to work well if you only have tests under a single directory. e.g. for all tests under package A.B.C in directory A/B/C.
How would you use the same method to run tests under multiple directories, and generate a centralized report for them? e.g. for all the tests in the packages A.B.C and A.B.D under A/B/C and A/B/D respectively.
vmassol (51) [Avatar] Offline
Re: How to test hierarchially using batchtest?

Whenever you have a question about Ant you can refer to the online Ant manual which is very good: http://ant.apache.org/manual

In your case at hand, you must look at the junit task doco (http://ant.apache.org/manual/OptionalTasks/junit.html). You'll see that for batchtest you can use as many filesets as you wish.

Hope it helps,