The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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:

In your case at hand, you must look at the junit task doco ( You'll see that for batchtest you can use as many filesets as you wish.

Hope it helps,