Section 27.2. Locating the Code


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.



    Fit for Developing Software. Framework for Integrated Tests
    Fit for Developing Software: Framework for Integrated Tests
    ISBN: 0321269349
    EAN: 2147483647
    Year: 2005
    Pages: 331

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net