FitNesse. SuiteAcceptanceTests. SuiteResponderTests. SuiteTestResponders. SuiteResponder.
TestSuiteWithOneXrefWidget

 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
When you execute a suite page, FitNesse tests all the pages mentioned in !see cross reference widgets.
Note: the classpath for the cross referenced pages is not determined by the referencing page, it is determined by the referenced pages.



Create a simple test page

Action Fixture.
start Page Builder
enter line !path classes
enter line !path fitnesse.jar
enter line |!-fitnesse.testutil.PassFixture-!|
enter page TestPage

Create a Suite page that mentions the test page in a !test widget

Action Fixture.
start Page Builder
enter line !see TestPage
enter page SuitePage

Response Requester.
uri valid?
SuitePage true

Response Examiner.
contents?
 

Now run the suite page.

Response Requester.
uri valid?
SuitePage?responder=suite true

Response Examiner.
contents?
 

The suite should report the TestPage and should show no errors.

Response Examiner.
type pattern matches?
contents TestPage true
contents Test Pages:.*1 right true

The error log page should not have any errors

Response Requester.
uri valid?
ErrorLogs.SuitePage true

Response Examiner.
contents?
 

Response Examiner.
type pattern matches?
contents Exit code.*0.*Time true