-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bdd-engine] Add ability to load ExamplesTable-s from variables (#1947)
- Loading branch information
Showing
7 changed files
with
78 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
vividus-tests/src/main/resources/story/integration/Load ExamplesTable from variable.story
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Meta: | ||
@epic vividus-bdd-engine | ||
@feature variables | ||
|
||
Lifecycle: | ||
Examples: | ||
${examples-table-path} | ||
|
||
Scenario: Generic | ||
Then `<commonVar>` is equal to `common` | ||
Then `<localeBasedVar>` is not equal to `common` | ||
|
||
Scenario: Thailand | ||
Meta: | ||
@locale th | ||
Then `<localeBasedVar>` is equal to `th` | ||
|
||
Scenario: North America | ||
Meta: | ||
@locale us ca | ||
Then `<localeBasedVar>` is equal to `na` |