AcceptanceTestsWithFitNesse.
Download
The HTML version of the tutorial gives you an impression of the possibilities provided by FitNesse.
But the real FitNesse-based tutorial offers a lot more interactions:
So spend a couple of minutes to install FitNesse and the tutorial:

FitNesse

First of all, you need a FitNesse installation  (calm down, it's just copy and run).
You can download the most recent FitNesse version from here.
Unpack the ZIP file to any directory. Now there should be a directory named fitnesse
For the latter of this text we will call the path of the fitnesse directory ${fitnesseDir}.
If Java is on your path, FitNesse is ready to run. Otherwise you must adapt the run.sh/run.bat appropriately.

Tutorial

Now download the tutorial from here.
Unpack the ZIP file to ${fitnesseDir}.

Start your FitNesse WiKi (by executing run.sh/run.bat)
Open a browser and enter the URL http://localhost. Now you should see the FitNesse front page.
Press the Edit button.
At the end of the content table, add the following row and press Save.

|!c [[!- Acceptance Tests with FIT/FitNesse -!][AcceptanceTestsWithFitNesse]]|''A tiny technical tutorial to FIT/!-FitNesse-!''|

Now you should have a new row in the content table directing to the tutorial.
Activate the link; you should be on the site AcceptanceTestsWithFitNesse.
Press the Edit button.
The content starts with

!*> Settings
!define fitnesseDir {ENTER THE PATH OF YOUR FITNESSE INSTALLATION HERE}
!define slash {\}
*!

Replace the text ENTER THE PATH OF YOUR FITNESSE INSTALLATION HERE with the path of your fitnesse directory ${fitnesseDir}.
E.g. if your the path is C:\fitnesse it must be

!*> Settings
!define fitnesseDir {C:\fitnesse}
!define slash {\}
*!

This is needed to set up the classpath for the tests correctly.
The variable slash is used generate an appropriate file path in the text, and is set to the Windows back-slash by default.
If you're not running Windows you should set it to your OS' specific file separator (usually / on non-Windows systems).

Finally press Save.
That's it.

Have fun.

[.FrontPage] [.RecentChanges]