SuiteSetUp and SuiteTearDown pages are also added to the list of test pages.

---

variable defined: TEST_SYSTEM=slim

Create the file section
file section setup

Add some files
file section file adder
path type content valid?
partition.txt file Page Partition Test System Order SuitePage.TestPage1 2 fit 1 SuitePage.TestPage2 2 fit 0 SuitePage.TestPage3 1 fit 99 SuitePage.TestPage4 0 fit 0 SuitePage.TestPage5 0 fit 1 true

Create a Suite page

script Page Builder
line !path lib/*.jar
page SuitePage

Create two sub pages

script Page Builder
line |!-fitnesse.testutil.PassFixture-!|
page SuitePage.TestPage1

script Page Builder
line
page SuitePage.SuiteSetUp

script Page Builder
line
page SuitePage.SuiteTearDown

script Page Builder
line |!-fitnesse.testutil.PassFixture-!|
page SuitePage.TestPage2

script Page Builder
line |!-fitnesse.testutil.PassFixture-!|
page SuitePage.TestPage3

script Page Builder
line
page SuitePage.TestPage4

script Page Builder
line |!-fitnesse.testutil.PassFixture-!|
page SuitePage.TestPage6

Response Requester.
uri valid?
SuitePage?responder=partition&format=tsv&partitionCount=3&partitionIndexFile=partition.txt true

Response Examiner.
contents?

The suite should report all TestPages in tab-separate format.

Response Examiner.
type pattern matches?
headers Content-Type: text/tab-separated-values true
contents Page\tPartition\tTest System\tOrder\n true
contents SuitePage\.TestPage1\t2\tfit\t2\n true
contents SuitePage\.TestPage2\t2\tfit\t1\n true
contents SuitePage\.TestPage3\t1\tfit\t1\n true
contents SuitePage\.TestPage4\t0\tfit\t2\n true
contents SuitePage\.TestPage6\t0\tfit\t1\n true
contents SuitePage\.SuiteSetUp\t0\tfit\t0\n true
contents SuitePage\.SuiteTearDown\t0\tfit\t3\n true
contents SuitePage\.SuiteSetUp\t1\tfit\t0\n true
contents SuitePage\.SuiteTearDown\t1\tfit\t2\n true
contents SuitePage\.SuiteSetUp\t2\tfit\t0\n true
contents SuitePage\.SuiteTearDown\t2\tfit\t3\n true