behat-extension environment-extension
Extension for behat, which allows to use env() as parameter
tourstream/environment-extension
Extension for behat, which allows to use env() as parameter
- Tuesday, March 27, 2018
- by Engerim
- Repository
- 4 Watchers
- 0 Stars
- 421 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 57 % Grown
Allows to use the symfony env parameter syntax in the behat config, (*1)
Usage
-
Install it:, (*2)
$ composer require tourstream/environment-extension --dev
-
Enable and configure environment extension in your Behat configuration:, (*3)
# behat.yml
default:
# ...
extensions:
Tourstream\Behat\EnvironmentExtension: # the default configuration:
env_file: '%paths.base%/.env' #default path
-
EnvironmentExtension should be the last extensions, so that all parameters are already known. Otherwise it can happen, that not all %env()%
are resolved, (*4)
Configuration reference
-
env_file
- a dot env file, contains environment variables which should be also used, the file is not required
dev-master
9999999-dev
Extension for behat, which allows to use env() as parameter
Sources
Download
MIT
The Requires
The Development Requires
by
Alexander Miehe
bdd
behat
environment
v1.0.0
1.0.0.0
Extension for behat, which allows to use env() as parameter
Sources
Download
MIT
The Requires
The Development Requires
by
Alexander Miehe
bdd
behat
environment