2017 © Pedro Peláez
 

behat-extension environment-extension

Extension for behat, which allows to use env() as parameter

image

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

The README.md

EnvironmentExtension License Version ![Travis-CI][travis-image]

Allows to use the symfony env parameter syntax in the behat config, (*1)

Usage

  1. Install it:, (*2)

    $ composer require tourstream/environment-extension --dev
    
  2. 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
    
  3. 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

The Versions

27/03 2018

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

27/03 2018

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