2017 © Pedro Peláez
 

library behat-env-var-extension

Behat extension to make environment variables available as container parameters

image

mdjward/behat-env-var-extension

Behat extension to make environment variables available as container parameters

  • Wednesday, November 9, 2016
  • by mdjward
  • Repository
  • 1 Watchers
  • 1 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Behat environment variable extension

Build Status Scrutinizer Code Quality Code Coverage, (*1)

An extension to Behat to support the ingestion of environment variables into container parameters, for use in behat configuration., (*2)

Example usage

Configure the extension as follows under Behat:, (*3)

  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:, (*4)

env.environment_variable_name, (*5)

...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., (*6)

The prefix parameter is entirely optional, and will default to 'env' if not specified., (*7)

The Versions

09/11 2016

dev-master

9999999-dev https://github.com/mdjward/behat-env-var-extension

Behat extension to make environment variables available as container parameters

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Ward

bdd extension behat environment env dependency-injection service-container environment-variables

08/11 2016

1.0.1

1.0.1.0 https://github.com/mdjward/behat-env-var-extension

Behat extension to make environment variables available as container parameters

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Ward

bdd extension behat environment env dependency-injection service-container environment-variables

08/11 2016

1.0.0

1.0.0.0 https://github.com/mdjward/behat-env-var-extension

Behat extension to make environment variables available as container parameters

  Sources   Download

MIT

The Requires

 

The Development Requires

by Matt Ward

bdd extension behat environment env dependency-injection service-container environment-variables