An extension to Behat to support the ingestion of environment variables into container parameters, for use in behat configuration.
Configure the extension as follows under Behat:
extensions:
Mdjward\Behat\EnvVarExtension:
prefix: envAny environment variables passed through to Behat will - as a consequence - be registered in the service container as parameters in the form:
env.environment_variable_name
...where environment_variable_name is the lower-case form of a given environment variable. For example, a variable MY_TEST_ENV will be registered as env.my_test_env.
The prefix parameter is entirely optional, and will default to 'env' if not specified.


