FitLibrary For FitNesse

This contains the latest release of the FitLibrary for FitNesse users.

Note the change to the name of the fitlibrary jar to fitlibrary-2.0.jar, which requires a change to your path in FitNesse, as shown below.

FitNesse configuration for using FitLibrary

To run FitLibrary from Fitnesse, it is necessary to include the following in your test page or in one of it's ancestor pages (notice the change here):
!path fitlibrary-2.0.jar
!path fitnesse.jar
!path lib/*.jar
!define TEST_RUNNER {fitlibrary.suite.FitLibraryServer}
Note the !path for the lib directory, which needs to contain log4j-1.2.16.jar for FitLibrary to work.

Latest Changes to FitLibrary

See the page .FitLibrary.WhatIsNew for details of the latest changes, along with links to the corresponding specifications.

Supplied FitLibrary files

The fitnesse directory within the FitLibrary release contains the following files and subdirectories (notice the change in name of the fitlibrary jar file):
  build.xml - Ant build file for FiLibrary
  fitnesse
    fitLibrary-2.0.jar
    run.bat
    FitLibraryLogger.properties -- properties for logging
    FixturingLogger.properties
    log4j.properties
    FitNesseRoot
        files
            dots
                -- files used in graphics examples
            gameImages
                -- files used in graphics examples
        FitLibrary
            UserGuide
                 -- Pages for the user guide
            SpecifiCations
                 -- Pages for storytests that specify FitLibrary
     lib
        -- Extra jars that may be needed (log4j is essential)
        fitBook.jar
        hamcrest-all-1.2.jar
        jmock-2.5.1.jar
        jmock-junit4-2.5.1.jar
        junit-4.6jar
        log4j-1.2.16.jar
        ognl-2.7.2.jar
        poi-3.1-FINAL-20080629.jar
        rentEz.jar
        src
           -- source code and ant build for FitLibrary
           fitBookSrc.jar -- source code for examples from the Fit Book
           fitLibrarySrc-2.0.jar -- source code for FitLibrary
           rentEzSrc.jar -- source code for example RentEz application

Updating FitLibraryForFitNesse in your existing FitNesse system

If you want to keep any changes you've made to the pages in the user guide, or associated example code, you may like to save them first.

On Windows, to update just the FitLibrary release:

Links on Front Page

To make it easy to access the FitLibrary user guide, you may like to add the following to the front page:

    |FitLibrary.UserGuide|

Source Code

The Java source for the FitLibrary and example fixtures are supplied in this release, in the lib/src subdirectory.

Any Suggestions?

Any suggestions for improvements in this release approach are most welcome.

Rick Mugridge, http://www.RimuResearch.com.
Altered October 2011