Fitnesse - Command line

Fitnesse Architecture


Fitnesse at the command line

Application Delivery

  • fitnesse.jar is for use in Maven or Ivy
  • fitnesse-standalone.jar has all dependencies

Users who just want to run FitNesse by itself should download fitnesse-standalone.jar instead of fitnesse.jar.

Get them in Maven:


Usage: java -jar fitnesse.jar [-vpdrlfeoaicb]
        -p <port number> {80}
        -d <working directory> {.}
        -r <page root directory> {FitNesseRoot}
        -l <log directory> {no logging}
        -f <config properties file> {}
        -e <days> {14} Number of days before page versions expire
        -o omit updates
        -a {user:pwd | user-file-name} enable authentication.
        -i Install only, then quit.
        -c <command> execute single command.
        -b <filename> redirect command output.
        -v {off} Verbose logging

  • workDir will contain as sub dir the pageRootDir
  • pageRootDir is the root folder of the website. Default: workindDir\FitNesseRoot



  • Example With Authentication
java -jar fitnesse-standalone.jar -a [user:pwd or user-file-name] -c "username:password:MyTestPage?test&format=text"

Documentation / Reference

Discover More
Fitness Page Properties
DbFit - Azure SQL Server Example

A step by step for a dbfit test in Azure SQL Server Java version 8 or 7 - DbFit version 3.2.0 An Azure SQL account Download the driver...
Fitnesse Architecture
Fitnesse - Getting Started

A little getting started guide for fitness Slim has several test written in table format. We will use the decision table where eg specifies a Java package (or other language namespace),...
Fitnesse Architecture
Fitnesse - Installation

Installation of fitnesse Download the standalone jar Place it in a home directory (Example: C:\fitnesse) Create a shell script to start it. Example in DOS (for all cli option, see ): Add...

Share this page:
Follow us:
Task Runner