Fit for Developing Software: Framework for Integrated Tests

27.2. Locating the Code

In order for FitNesse to run tests from your pages, you need to specify the location of the code for the fixtures and for the system under test. You do this with path commands of the following form, which specify the location of Java class files and JAR files:

!path Examples/EquipmentRental/build !path c:\lib\junit.jar

To allow several projects to coexist in a FitNesse wiki, different paths may be provided in different subwikis. Simply add your specific paths to a page within your subwiki. Before running a test on a page, FitNesse looks for paths up the page hierarchy and accumulates all the paths it finds.

    Категории