FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestIncludeBackwardsSearchPage
 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp

This page tests includes of a backwards search page.


Make sure the !include
  • First create a page to be included.
Action Fixture.
start Page Builder
enter line this subpage was included 3.14159
enter page ParentPage.MiddlePage.IncludedPage
  • Next create a page to do the including.
Action Fixture.
start Page Builder
enter line before
enter line !include
enter line after
enter page ParentPage.MiddlePage.MiddlePageTwo.IncludingPage
  • Then request the including page.
Response Requester.
uri valid? contents?
ParentPage.MiddlePage.MiddlePageTwo.IncludingPage true  
  • Examine the requested page to be sure the included page was in fact included.
Response Examiner.
type pattern matches? value
contents this subpage was included 3.14159 true  



.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests