Discussion:
[Cucumber] Is there any way that I can use variable in a file to execute CLI in Cucumber/Aruba?
(too old to reply)
Johan
2018-09-10 10:44:46 UTC
Permalink
Is there any way that I can use variable to execute CLI in Cucumber/Aruba?
For example:
A file named "features/support/variables.rb" with:
Copy
ENV['LONG_LONG_VARIABLE'] = '1'

Feature: Variable
Scenario: Run command
When I run echo $LONG_LONG_VARIABLE
Then the output should contain:
"""
1
"""
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...