ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif Bladt (Inxmail GmbH)" <>
Subject JUnit and batch test
Date Tue, 20 Apr 2010 14:26:33 GMT

I'm running my JUnit tests with a batchtest in the build file, where I select the test files
with a regex (on the filename). I wonder if there is no other possibility, to run all files
which contain test methods.

I came across this question, since I figured out, that some of my tests where not running
automatically... I have two cases:

Inherited test cases, where no test methods were defined in the abstract class.
class AbstractPersistenceTest {}
class APersistenceTest extends AbstractPersistenceTest {}
class BPersistenceTest extends AbstractPersistenceTest {}

A test class for an abstract class.
class AbstractFooTest {}


Software Development

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

View raw message