[Biojava-dev] build.xml

Len Trigg len at reeltwo.com
Fri Sep 26 01:16:40 EDT 2003


> From: Thomas Down <td2 at sanger.ac.uk>
> Date: Thu, 25 Sep 2003 15:35:00 +0100
> 
> A large cause of bulkiness in this file seems to be the
> "run some subset of tests" targets, which are mostly cut-and-paste
> jobs from the original runtest target.  We have
> 
> Is there any way we can neatly run subsets of tests without having
> all this cut-and-paste cruft (at least one of which won't work
> at all any more, since the ontology APIs moved...). 

The way we do it here at work is have a class per package called
AllTests that simply has a suite composed of the suites of all test
classes in the package plus the AllTests suite for each subpackage.

To run a subset of tests, just run the corresponding AllTests
suite. Works nicely.

Cheers,
Len.


More information about the biojava-dev mailing list