Welcome to FitNesse, the fully integrated stand-alone acceptance testing framework and wiki.
To get started, check out the FitNesse website!
Have a bug or a feature request? Please open a new issue.
The latest stable build of FitNesse can be downloaded here by clicking the latest workflow and clicking the libs
artifact.
Note: the libs
artifact contains 2 jars. fitnesse.jar
is for use in Maven or Ivy. Users who just want to run FitNesse by itself should use fitnesse-standalone.jar
instead of fitnesse.jar
.
Issues and pull requests are administered at GitHub.
A proper internet connection is sufficient to build FitNesse. The build process will bootstrap itself by downloading Gradle and from there will download the dependencies required to build and test FitNesse.
To build and run all tests, run the command
$ ./gradlew
which builds the all
target.
NB. On windows call gradlew.bat
instead of ./gradlew
.
To start the FitNesse wiki locally, for example to browse the local version of the User Guide
$ ./gradlew run
To run the unit tests:
$ ./gradlew test
To run the acceptance tests:
$ ./gradlew acceptanceTest
There are a few things to keep in mind when working from an IDE:
-
The Gradle build does some extra things apart from compiling the code.
- It sets the FitNesse version in a META-INF/FitNesseVersion.txt
- It copies the dependencies to the lib folder so they can be used by the acceptance tests.
Perform a
$ ./gradlew copyRuntimeLibs
to execute the copy action. In your IDE it is possible to define "post-compilation" steps. If you set the "post-compile" target from the build file, you won't have any trouble with cleaning, building and executing tests from your IDE.
- Clone the FitNesse Git repository from https://github.com/unclebob/fitnesse.
- Import FitNesse via File -> Import... -> Gradle Project.
- Select the just cloned project folder. Follow the wizard.
- Ensure the project properties have a Java 11 compiler or newer set.
- Create a new project from https://github.com/unclebob/fitnesse (i.e. from the menu select File -> New -> Project from Version Control..., ensure the 'Version control' selectbox contains 'Git', enter the project's URL and press 'Clone').
- Ensure the project structure is set to use Java 11 SDK or newer.
- Open the Gradle pane Tool Window (little elephant icon on the right side of the screen). Its 'Tasks' folder contains the various gradle tasks defined for the project.
- To launch the wiki: open 'Tasks/other' and look for the cog-icon 'run', right-click and select either 'Run' or 'Debug'
- Wiki should now be accessible by opening http://localhost:8001 in your browser.
For this option, nothing other than VSCode and Docker needs to be installed.
- Clone the FitNesse Git repository from https://github.com/unclebob/fitnesse.
- Open the fitnesse folder in VSCode
- Wait for the popup
Folder contains a Dev Container configuration file. Reopen folder to develop in a container (learn more).
- Click the button
Reopen in Container
- Wait until init routines are finished
- Use Run & Debug or Gradle buttons in the left toolbar
FitNesse releases are created using https://github.com/fitnesse/fitnesse-release