
Resources.FitNesseRoot.FitNesse.SuiteAcceptanceTests.SuiteWidgetTests.TestContentsWithRecursion.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
!3 !-!contents-! with Recursive option
!include -seamless ContentsUsage
'''First create the parent page.'''
|script|
|start|Page Builder|
|line|I'm the parent|
|line|!-!contents-! -R|
|page|!-ParentPage-!|
!include -seamless ContentsTestsInclude
'''Next create a grandchild'''
|script|
|start|Page Builder|
|line|You're too young to be grandparents|
|page|!-ParentPage.FirstChild.GrandChild-!|
'''Then request the parent page.'''
|Response Requester.|
|uri|valid?|contents?|
|!-ParentPage-!|true||
'''...and examine the requested page to be sure that the descendent pages are included'''
#
!|Response Examiner.|
|type|pattern|matches?|
|contents|a href="ParentPage.FirstChild" class="suite">FirstChildGrandChildSecondChild
© 2015 - 2025 Weber Informatics LLC | Privacy Policy