Using Fitnesse
To run tests from the FitNesse wiki, we add the following to the root page of our Fit tests. This could be the root of our FitNesse wiki (e.g., localhost:8080/root) or on the Fit test page or suite page.
[!path assemblies]
!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer [-c suiteconfig] [-a appconfig] %p}
!define TEST_RUNNER {c:\apps\fitsharp\Runner.exe}
where:There are two ways to load the assemblies that contain our fixtures and our system under test:Example:
!path c:\mypath\myCode.dll
!define COMMAND_PATTERN {%m -r fitnesse.fitserver.FitServer %p}
!define TEST_RUNNER {c:\apps\fitsharp\Runner.exe}
To run FitNesse tests from the command line, we can use the FitNesse Command Line REST Commands.
Copyright © 2017 Syterra Software Inc. All rights reserved.