FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestIncludeSeamless

This page tests seamless includes on a wiki page.


NOTE - this is not part of the 20050301 release, but is checked in and will be part of the next release

You can follow !include (see TestInclude) with the option "-seamless", which renders the included comment with no additional decoration.

The following is a test that demonstrates how this works.
Action Fixture.
start Page Builder
enter line included line 1
enter line included line 2
enter page IncludedPage
Action Fixture.
start Page Builder
enter line before
enter line !include -seamless IncludedPage
enter line after
enter page IncludingPage
Response Requester.
uri valid? contents?
IncludingPage true  
Response Examiner.
type pattern matches? value
contents included true  
Response Examiner.
type number string?
line 1 before
line 2 included line 1
line 3 included line 2
line 4 after


.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests