Sha256: 2e0052e92f42173bf87cb2e20e52bb988ea04a53fdec6a57e3d33fe46c1890c6

Contents?: true

Size: 1.21 KB

Versions: 8

Compression:

Stored size: 1.21 KB

Contents

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 | <strong>Test Pages:</strong> 4 right, 0 wrong, 0 ignored, 0 exceptions |
| ensure | content matches | 0 right, 0 wrong, 0 ignored, 0 exceptions.*>SuiteSetUp</a> |
| ensure | content matches | 0 right, 0 wrong, 0 ignored, 0 exceptions.*>SuiteTearDown</a> |

Same for XML:

!|script |
| check | request page | SuiteParent?suite&format=xml | 200 |
| show | content |
| ensure | content matches | <finalCounts>.*<right>.*4.*</right>.*<wrong>.*0.*</wrong>.*<ignores>.*0.*</ignores>.*<exceptions>.*0.*</exceptions>.*</finalCounts>  |

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/SuiteTestResponders/SuiteResponder/EmptySuiteSetUpAndTearDownShouldCountAsRightPages/content.txt