When you execute a test page, FitNesse gathers up the classpaths prior to running the test. The classpaths are found in the !path widgets of the test page, and every ancestor of the test page. The paths are ordered so that paths found on the subpages come before paths found on their parents.



Library
echo fixture

variable defined: PROPERTY_DISPLAY= !define TEST_SYSTEM {slim} !path classes !path fitnesse-standalone.jar !|Import| |fitnesse.fixtures| !|script|java properties| |show|property|java.class.path|

script page driver
given page ParentPage with content !path parentPath

given page ParentPage.TestPage with content
!define TEST_SYSTEM {slim}
!path classes
!path fitnesse-standalone.jar

!|Import| |fitnesse.fixtures|
!|script|java properties| |show|property|java.class.path|

page ParentPage.TestPage?test should contain classes:fitnesse-standalone.jar:parentPath