PackageDescription: Fitnesse


Fitnesse

Last published: November 19, 2004 by 'awosten'

Defines 53 Classes
Extends 57 Classes

Fitnesse (http://www.fitnesse.org) is a wiki wrapper around the FIT (http://fit.c2.com) acceptance testing framework.

This package provides the necessary "glue" code that allows Fitnesse to run acceptance tests written for the Smalltalk port of FIT.

I have made it possible to run Fitnesse against a deployed application containing the necessary fixtures and application code (not tested yet) and also against a running image with a manual steps.

To run against a deployed application:
- Deploy the application. The main entry point should be Fit.FitServer class>>run.
- Define the variable COMMAND_PATTERN on a Fitnesse page so that it will run your deployed image. Fitnesse will append the necessary parameters at the end of the pattern. If you use a batch file or shell script, make sure that those arguments are passed on to the application at the end of the command line.

To run against a running image:
- Create an executable script or batch file called fakeFitServer[.bat]. See FitServer>>exampleFitServerBat or exampleFitServerShellScript.
- Create a Fitnesse page as described in FitServer>>exampleFitnessePage.
- In a workspace, run 'FitServer runInImageUsing: '/path/to/file/used/in/fakeFitServer/script' asFilename
- To stop this FitServer, run 'FitServer stop' in a workspace

The Java Fitnesse implementation has forked the FIT source code to add some enhancements. There's still some tests in fixtures.html that won't pass without re-writing the test, so I just changed the expected results to expect them to fail (ick).

All of these changes to FIT have been done as overrides in the Fitnesse package. Thus, it is possible to get a stock Fit implementation that corresponds to the Java implementation v 1.0. If you also load this package, you will get the Fitnesse-enhanced version of FIT.

If you have any questions or comments, contact me at rcoulman _at_ charter _dot_ net.