mdjward/behat-env-var-extension
Composer 安装命令:
composer require mdjward/behat-env-var-extension
包简介
Behat extension to make environment variables available as container parameters
关键字:
README 文档
README
An extension to Behat to support the ingestion of environment variables into container parameters, for use in behat configuration.
Example usage
Configure the extension as follows under Behat:
extensions: Mdjward\Behat\EnvVarExtension: prefix: env
Any 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.
统计信息
- 总下载量: 82
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-08