2017 © Pedro Peláez
 

behat-extension behat-environment

Behat extension to provide environment specific information in a context classes.

image

wohlie/behat-environment

Behat extension to provide environment specific information in a context classes.

  • Sunday, June 24, 2018
  • by Wohlie
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Behat Environment Extension License Build Status Scrutinizer Code Quality

Allows to inject the current project environment into a context. The extension currently only supports the version number., (*1)

The project environment can be extracted from the following resources: - package.json - The version will be extracted from the object key version - composer.json - The version will be extracted from the object key version - *.property - The version will be extracted from the key artifact.version, (*2)

Usage

  1. Install it:, (*3)

    $ composer require wohlie/behat-environment
    
  2. Enable this extension and configure Behat to use it:, (*4)

    # behat.yml
    default:
      # ...
      extensions:
        Wohlie\Behat\Environment:
          property_file: '%paths.base%/package.json'
    

The parameter property_file is required., (*5)

  1. Implement the interface \Wohlie\Behat\Environment\Context\EnvAwareContext in your context class to get the environment object.

The Versions

24/06 2018

dev-master

9999999-dev

Behat extension to provide environment specific information in a context classes.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erik Wohllebe

bdd behat environment

24/06 2018

v1.0.0

1.0.0.0

Behat extension to provide environment specific information in a context classes.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Erik Wohllebe

bdd behat environment