Sha256: 6877602053798831f11cf5f9adb411a30aa7e50ebbcff3a29647324554d297f5

Contents?: true

Size: 957 Bytes

Versions: 8

Compression:

Stored size: 957 Bytes

Contents

!|script|
| create page | SuitePage | with content | !-!define TEST_SYSTEM (slim)
!define VARIABLE (some value)-! ${SUT_PATH} |
| make | SuitePage | a suite page |
| create page | SuitePage.ScenarioLibrary | with content | !-Scenario Library: "${VARIABLE}"-! |
| create page | SuitePage.TestPage | with content | !-Test Page: "${VARIABLE}"-! |
| make | SuitePage.TestPage | a test page |

You would expect the variable to be substituted when the test page is executed:

!| script |
| check | request page | SuitePage.TestPage?test | 200 |
| show | content |
| ensure | content contains | Scenario Library: "some value" |
| ensure | content contains | Test Page: "some value" |


Now, it we execute from Suite level, the variable should be substituted too:


!| script |
| check | request page | SuitePage?suite | 200 |
| show | content |
| ensure | content contains | Scenario Library: "some value" |
| ensure | content contains | Test Page: "some value" |

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xcfit-0.9.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.8.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.7.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.6.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.5.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.4.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.3.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt
xcfit-0.2.0 XCFitDemo/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteSlimTests/ScenarioLibraryTestSuite/ScenarioLibraryShouldIncludeVariables/content.txt