Last active
August 29, 2015 14:14
-
-
Save mageekguy/ec6a035f30426a305e3d to your computer and use it in GitHub Desktop.
Is it possible to define a "global" argument value for a context in behat.yml?
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
default: | |
autoload: | |
'': %paths.base%/Tests/Functionals/Bootstrap | |
contexts: | |
- HttpContext: | |
baseUrl: 'http://foo.bar.lan' | |
suites: | |
errors: | |
paths: [ %paths.base%/Tests/Functionals/Features/Api/Errors ] | |
contexts: [ HttpContext, UiContext ] | |
accessControl: | |
paths: [ %paths.base%/Tests/Functionals/Features/Api/AccessControl.feature ] | |
contexts: [ HttpContext ] | |
status: | |
paths: [ %paths.base%/Tests/Functionals/Features/Api/Status.feature ] | |
contexts: [ HttpContext, UiContext ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solution is using yaml alias, thanks to @everzet for the tip:
For more information about alias in yaml, see here