FitNesse. SuiteAcceptanceTests. SuiteWidgetTests.
TestVariablesFromSystemProperties

Test that variables can be defined as system properties



Test a variable defined in system properties


System property setter fixture
key value
xKey xValue
Action Fixture.
start Page Builder
enter line xKey is ${xKey}
enter page VariablePage
Response Requester.
uri valid? contents?
VariablePage true  
Response Examiner.
type pattern matches? value
contents xKey is xValue true  




Test that a variable defined in a page supercedes one set in system properties


System property setter fixture
key value
xKey xValue
Action Fixture.
start Page Builder
enter line !define xKey {xValueFromPage}
enter line xKey is ${xKey}
enter page VariablePage
Response Requester.
uri valid? contents?
VariablePage true  
Response Examiner.
type pattern matches? value
contents xKey is xValueFromPage true  


.FrontPage .RecentChanges .FitNesse.SuiteAcceptanceTests