behat/tokens-extension

Tokens extension for Behat that allows saving temporary values from steps and replaces tokens in step arguments with those values

Installs: 12 592

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 1

Type:behat-extension

v1.0.0-alpha 2016-04-20 08:49 UTC

This package is auto-updated.

Last update: 2024-11-22 07:49:17 UTC


README

Behat TokensExtension provides a way for step text and arguments to contain replacement tokens that will be replaced with some context values before step definitions are processed

Latest Stable Version License Build Status Quality Score Total Downloads

Installation

  • curl -sS https://getcomposer.org/installer | php
  • vim composer.json
{
  "require": {
    "behat/tokens-extension": "dev-master"
  },
  "config": {
    "bin-dir": "bin"
  }
}
  • composer install
  • Enable TokensExtension in behat.yml:
default:
  extensions:
    Behat\TokensExtension: ~

Documentation

Please refer to docs here

Testing

composer update --dev
./vendor/bin/behat

Contributions

Feel free to provide feedback in issue queue and contributions are much welcome.

Authors

Supporting organizations

Thanks to FFW Agency for supporting this contribution.