Install the fixtures
Use this page to get a FitNesse project with the Reflex fixtures running. You need Java 21 and access to the Reflex Gitea organization (a read-access PAT or an SSH key).
Start from the starter project
Section titled “Start from the starter project”-
Clone the monorepo. The starter is in
fitnesse/. Or downloadreflex-fitnesse.zipfrom the releases. -
Start FitNesse from that folder:
Terminal window mvn clean compile dependency:copy-dependencies exec:exec
Add the fixtures to your own project
Section titled “Add the fixtures to your own project”-
Find the latest version in the package registry. All Reflex Java artifacts share one version: the release tag without the
v. -
Add the dependency to your
pom.xml:<dependency><groupId>com.huisjesautomation.reflex</groupId><artifactId>fitnesse-fixtures</artifactId><version>X.Y.Z</version></dependency>
Run tests with Maven
Section titled “Run tests with Maven”mvn clean test-compile failsafe:integration-testAdd failsafe:verify to fail the build when a test fails. To run part of a suite:
mvn clean test-compile failsafe:integration-test \ -DfitnesseSuiteToRun=MySuite \ -DsuiteFilter=tag1,tag2 \ -DexcludeSuiteFilter=tag3Results are in target/failsafe-reports (JUnit XML) and target/fitnesse-results/index.html (HTML).
Next: Suite setup.