FitNesse. SuiteAcceptanceTests. SuiteResponderTests. SuiteTestResponders. SuiteSetUpAndTearDown.
TestSetUpAndTearDown [add child]

 Set Up: .FitNesse.SuiteAcceptanceTests.SetUp (edit)
 Scenario Libraries

Test normal SetUp and TearDown



Page creator.
Page name. Page contents. Page attributes. valid?
NormalPage normal   true
TestPage test   true
PageHeader header   true
PageFooter footer   true
SetUp set up   true
TearDown tear down   true
Response Requester.
uri valid?
NormalPage true
Response Examiner.
type pattern matches? wrapped html?
contents (header).*(normal).*(footer) true  
Response Examiner.
type pattern matches?
contents set up false
contents tear down false
Response Requester.
uri valid?
TestPage true
Response Examiner.
type pattern matches? wrapped html?
contents (header).*(set up).*(test).*(tear down).*(footer) true  


Test that sub pages inherit setups and tear downs.

Page creator.
Page name. Page contents. Page attributes. valid?
NormalPage.TestSubPage test sub page   true
Response Requester.
uri valid?
NormalPage.TestSubPage true
Response Examiner.
type pattern matches? wrapped html?
contents (header).*(set up).*(test sub page).*(tear down).*(footer) true  


Test that sub setups and sub teardowns override inherited setups and teardowns.

Page creator.
Page name. Page contents. Page attributes. valid?
NormalPage.SetUp sub setup   true
NormalPage.TearDown sub teardown   true
Response Requester.
uri valid?
NormalPage.TestSubPage true
Response Examiner.
type pattern matches? wrapped html?
contents (header).*(sub setup).*(test sub page).*(sub teardown).*(footer) true