FitNesse. SuiteAcceptanceTests. SuiteWikiPageResponderTests.
TestVariables [add child]

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

Test that variables are properly defined and expressed on a page.



Test a variable defined and used on the same page.

Action Fixture.
start Page Builder
enter line !define x {1}
enter line x is ${x}
enter page VariablePage
Response Requester.
uri valid? contents?
VariablePage true  
Response Examiner.
type pattern matches? value
contents x is 1 true  


Test a variable defined and used on the same page using () syntax.

Action Fixture.
start Page Builder
enter line !define x (1)
enter line x is ${x}
enter page ParenVariablePage
Response Requester.
uri valid? contents?
ParenVariablePage true  
Response Examiner.
type pattern matches? value
contents x is 1 true