Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not possible to override ENV var from config/cucumber.yml #28

Open
bayandin opened this issue Jan 22, 2018 · 0 comments
Open

It's not possible to override ENV var from config/cucumber.yml #28

bayandin opened this issue Jan 22, 2018 · 0 comments

Comments

@bayandin
Copy link
Contributor

bayandin commented Jan 22, 2018

If in config/cucumber.yml for any project env var is specified it is impossible to override it from CLI.

For example

# in config/cucumber.yml:
some_profile: SOME_VAR=1
$ parallel_cucumber --debug --cucumber-options ' SOME_VAR=2 -p some_profile' features/functional/some.feature
...
== Running command `cucumber ... SOME_VAR=2 ... SOME_VAR=1 features/functional/some.feature ...`
...

It seems there is a problem in batch_mapped_files function — it should handle duplicated ENV vars (and replace old ones cucumber config with new ones from CLI/--cucumber-options).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant