Skip to content

Repository files navigation

Test Runner

This plugin allows you to create tools that operate on Java (JUnit) tests with fine-grained control (e.g., running them in arbitrary orders).

Quickstart

First, create a class that extends the following abstract class:

publicabstractclassTestPlugin {
publicTestPlugin() {}
publicabstractvoidexecute(finalMavenProjectproject);
}

Then, add the following plugin to the pom.xml of the Maven project you wish to run your TestPlugin on.

<plugin>
<groupId>com.reedoei</groupId>
<artifactId>testrunner-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<className>FULLY_QUALIFIED_CLASS_NAME_GOES_HERE</className>
</configuration>
</plugin>

Then run:

mvn testrunner:testplugin

Installation

If you want the latest version of this plugin (or for some reason you can't get if off Maven central), you can run:

git clone https://github.com/ReedOei/testrunner-maven-plugin
cd testrunner-maven-plugin
mvn install

You can generate documentation using:

mvn javadoc:javadoc scala:doc

Documentation

See the wiki.

About

A Maven plugin to make writing custom tools that need to run tests.

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages