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 605
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 0
Forks: 0
Open Issues: 1
Type:behat-extension
pkg:composer/behat/tokens-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: 2025-10-22 09:51:49 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 | phpvim composer.json
{
"require": {
"behat/tokens-extension": "dev-master"
},
"config": {
"bin-dir": "bin"
}
}
composer install- Enable
TokensExtensionin 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.