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
Requires
- php: >=5.5
- behat/behat: >=3.0.7
Requires (Dev)
- phpunit/phpunit: 4 - 5
- symfony/process: ~2.1|~3.0
This package is auto-updated.
Last update: 2024-10-22 07:39:06 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
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.