Usage:
!include PageName
For example if you wanted to all the content from .Front Page to be displayed here you would simply type:
!include .FrontPage
As a result you will see .Front Page below:
Included page: .FrontPage (edit)
It's a Collaboration tool
Since FitNesse is a wiki web server, it has a very low entry and learning curve, which makes it an excellent tool to collaborate with, for example, business stakeholders.Read more...
It's a Test tool
The wiki pages created in FitNesse are run as tests. The specifications can be tested against the application itself, resulting in a roundtrip between specifications and implementation.Read more...
It's Open
FitNesse is an open source project. The code base is not owned by any company. A lot of information is shared by the FitNesse community. It's extremely adaptable and is used in areas ranging from Web/GUI tests to testing electronic components.Read more...
Parameters: | |
-seamless | causes the included page to be rendered without an enclosing box. |
-c | causes the included page to be collapsed. |
-setup | causes the included page to be used for test/suite setup. |
-teardown | causes the included page to be used for test/suite teardown. |
Watch out for !include cycles
Don't include a page that already includes the page that you are including from. ;-)Including Test snippets
It is often useful to include portions of test tables into your tests. You do this to bring in common setup data or common test sequences (possibly modified with variables). A convenient way to do this is to use the Backwards Search notation as follows:!include <UtilityPage.MyUtility
This will hunt up the parent chain until UtilityPage is found, and then its child MyUtility will be included.