Download latest version at SourceForge here. Project home page is at Google Code Hosting at http://code.google.com/p/junitext.
The JUnit 4 Extensions (www.junitext.org) is an OpenSource project started during writing an article about new features of JUnit 4 (See: www.ix.de, Issue 06/2006). These extensions should proove extensibility of JUnit 4 for typical use cases.
These extensions will support following features (see also ChangeLog):
@Prerequisite
):
Ignore tests based on conditions. Will use the org.junit.runner.manipulation.Filter
@Category
):
Filter and Sort tests based on a Category. Will both use the org.junit.runner.manipulation.Filter
and org.junit.runner.manipulation.Sorter
@RunWith(AnnotationRunner.class)
Following features are planned in near time (see also TODO):
@RunWith(MTRunner.class)
@Platform
: Run test
only based on given platform spec (OS version, JDK version, Eclipse
version, ...)