Skip to content

tourstream/EnvironmentExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EnvironmentExtension License Version Travis-CI

Allows to use the symfony env parameter syntax in the behat config

Usage

  1. Install it:

    $ composer require tourstream/environment-extension --dev
  2. Enable and configure environment extension in your Behat configuration:

    # behat.yml
    default:
        # ...
        extensions:
            Tourstream\Behat\EnvironmentExtension: # the default configuration:
                env_file: '%paths.base%/.env' #default path
  3. EnvironmentExtension should be the last extensions, so that all parameters are already known. Otherwise it can happen, that not all %env()% are resolved

Configuration reference

  • env_file - a dot env file, contains environment variables which should be also used, the file is not required

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published