Library |
page driver |
echo fixture |
given page with content | |
page | content |
SuiteParent | !path lib/*.jar !define TEST_SYSTEM (slim) |
SuiteParent.SuiteSetUp | |
SuiteParent.SuiteTearDown | |
SuiteParent.TestOneOne | | script | fitnesse.fixtures.Pass | | ensure | ok | |
SuiteParent.TestOneTwo | | script | fitnesse.fixtures.Pass | | ensure | ok | |
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> |