![JAR search and dependency download from the Maven repository](/logo.png)
FitNesseRoot.Fitnesse.SuiteAcceptanceTests.SuiteResponderTests.SuiteTestResponders.SuiteResponder.EmptySuiteSetUpAndTearDownShouldCountAsRightPages.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
If a !-SuiteSetUp-! or !-SuiteTearDown-! page is eecuted without errors, it should be counted as a correctly executed page.
!define TEST_SYSTEM {slim}
!**< test content
!define PATHS {
${SUT_PATH}
!-!define TEST_SYSTEM (slim)-!
}
!define MOCK_TEST {
!-| script | fitnesse.fixtures.Pass |-!
!-| ensure | ok |-!
}
*!
!|Library|
|page driver|
|echo fixture|
!|given page with content |
|page |content |
|SuiteParent |${PATHS} |
|SuiteParent.SuiteSetUp | |
|SuiteParent.SuiteTearDown | |
|SuiteParent.TestOneOne | ${MOCK_TEST} |
|SuiteParent.TestOneTwo | ${MOCK_TEST} |
For normal (HTML) responses:
!|script |
| check | request page | SuiteParent?suite | 200 |
| show | content |
| ensure | content contains | Test Pages: 4 right, 0 wrong, 0 ignored, 0 exceptions |
| ensure | content matches | 0 right, 0 wrong, 0 ignored, 0 exceptions.*>SuiteSetUp |
| ensure | content matches | 0 right, 0 wrong, 0 ignored, 0 exceptions.*>SuiteTearDown |
Same for XML:
!|script |
| check | request page | SuiteParent?suite&format=xml | 200 |
| show | content |
| ensure | content matches | .*.*4.* .*.*0.* .*.*0.* .*.*0.* .* |
© 2015 - 2025 Weber Informatics LLC | Privacy Policy