Fitnesse - Command line

Fitnesse Architecture

About

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: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.fitnesse%22

Usage

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> {plugins.properties}
        -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

Management

Authentication

  • 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