Chapter 26. Installing and Running Fit

As we saw in Chapter 7, Fit can run tests and suites of tests created in an Excel spreadsheet or in HTML. In this chapter, we briefly cover the installation of Fit and show how to make it easy for nonprogrammers to edit, organize, and run their tests.

26.1 Installing Fit and FitLibrary

Download Fit For Java from http://fit.c2.com. Unzip the Fit zip file; inside the Release folder is the latest JAR (Java Archive) file, fit.jar. Download FitLibrary.jar from http://sourceforge.net/projects/fitlibrary.

26.2 Running Fit on Folders

The simplest approach to running Fit on the .XLS and .HTML files in a folder is to use the following command in that folder1:

java -cp javafit1.1.jar fitlibrary.jar;poi.jar;code ...

Get Fit for Developing Software: Framework for Integrated Tests now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.