Maven plugin designed to run FitNesse. This project is still in early development stage.
Check here for detailed information on available goals.
- You just need to configure the plugin as described here:
<project>
<build>
<plugins>
...
<plugin>
<groupId>com.github.andreptb</groupId>
<artifactId>fitnesse-maven-runner-plugin</artifactId>
<version>0.2.1</version>
</plugin>
</plugins>
</build>
...
</project>
mvn fitnesserunner:run
FitNesse plugins must be added as the plugin dependencies. For example:
<project>
<build>
<plugins>
...
<plugin>
<groupId>com.github.andreptb</groupId>
<artifactId>fitnesse-maven-runner-plugin</artifactId>
<version>0.2.1</version>
<dependencies>
<dependency>
<groupId>com.github.andreptb</groupId>
<artifactId>fitnesse-selenium-slim</artifactId>
<version>0.9.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
...
</project>
Since FitNesse runs within a Maven classpath context, you can configure FitNesse classpath in your test page with the following:
!path ${FITNESSE_CLASSPATH}
...your test code...
- Running tests:
mvn test -Dgpg.skip
- To build this plugin and add to maven local repository:
mvn install -Dgpg.skip