Skip to content
This repository has been archived by the owner on Sep 2, 2018. It is now read-only.

Latest commit

 

History

History
81 lines (64 loc) · 2.36 KB

README.md

File metadata and controls

81 lines (64 loc) · 2.36 KB

fitnesse-maven-runner-plugin Build Status Coverage Status Maven  Central

Maven plugin designed to run FitNesse. This project is still in early development stage.

Check here for detailed information on available goals.

Installation

  • 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>

Running

mvn fitnesserunner:run

Adding plugins

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>

FitNesse classpath

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...

Testing and Building

  • Running tests:
mvn test -Dgpg.skip
  • To build this plugin and add to maven local repository:
mvn install -Dgpg.skip