rmiller / phpspec-extension
PhpSpec extension for Behat
Installs: 19 468
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 4
Forks: 4
Open Issues: 1
Type:behat-extension
Requires
- php: >=5.4
- behat/behat: ^3.0,>=3.0.4
- phpspec/phpspec: ^3.0
- symfony/process: ^2.1|^3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-11-05 02:38:21 UTC
README
Behat extension to run phpspec desc command automatically for missing classes.
For more explanation and additional related functionality see BehatSpec. Which uses this extension in combination with others to provide integration between Behat and PhpSpec.
If you do want to use this extension standalone, it requires:
- Behat 3.0+
- PHP 5.6+
The easiest way to install it is to use Composer
$ composer require --dev rmiller/phpspec-extension:^0.5
Activate the extension by specifying its class in your behat.yml
:
# behat.yml default: # ... extensions: RMiller\BehatSpec\Extension\PhpSpecExtension\PhpSpecExtension: path: bin/phpspec #default value is bin/phpspec config: path/to/phpspec.yml #optional