#
Environment Variables
Encrypted environment variables created in the web UI override variables specified in the configuration file.
The top level env specifies environment variables available globally. Environment variables are specified as key/value pairs.
.turbo_test.toml
env.CHROME='headless'
env.CUCUMBER='true'
env.DISPLAY=":1"
env.RAILS_ENV='test'
In the example above, RAILS_ENV
is set to "test" and available from the operating system as $RAILS_ENV
. For example, from a turbo test virtual machine:
$ echo $CHROME
headless
$ echo $CUCUMBER
true
$ echo $DISPLAY
:1
$ echo $RAILS_ENV
test