The Dynamic Suite Runner exists to solve the problem of only running a filtered set of Unit Tests in your
IDE.
This is mainly an Eclipse problem since it doesn't allow you to filter your unit tests in its run configuration.
To use it just create a TestSuite class and annotate it with:
@RunWith(DynamicSuite.class) @Filter(DefaultFilter.class) @DirectoryYou may use any class implementing the TestClassFilter interface or extending the DefaultFilter class to create a custom Filter for your Unit tests.
The library is available via download on github or you can add it as maven dependency (central maven
repository).
<dependency> <groupId>com.github.cschoell</groupId> <artifactId>junit-dynamicsuite</artifactId> <version>0.2.1</version> </dependency>
Christof Schoell (c.schoell@gmx.net)
(c.schoell@gmx.net)
You can download this project in either zip or tar or jar formats.
You can also clone the project with Git by running:
$ git clone git://github.com/cschoell/Junit-DynamicSuite