![JAR search and dependency download from the Maven repository](/logo.png)
FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteTestResponders.SuiteResponder.TestOneSubPage.content.txt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartrics-RestFixture-LiveDoc Show documentation
Show all versions of smartrics-RestFixture-LiveDoc Show documentation
FitNesse tests documenting the RestFixture
When you execute a suite page, !-FitNesse-! tests all the subpages.
This example shows just one test subpage being executed.
----
Create a Suite page
|script|Page Builder|
|line|${SUT_PATH}|
|page|!-SuitePage-!|
Create a simple test page
|script|Page Builder|
|line|!-|!-fitnesse.testutil.PassFixture-!-!!-|-!|
|page|!-SuitePage.TestPage-!|
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?|
|!-SuitePage?executionLog-!|true|
|Response Examiner.|
|contents?|
||
|Response Examiner.|
|type |pattern|matches?|
|contents|Exit code.*0.*Time|true|
© 2015 - 2025 Weber Informatics LLC | Privacy Policy