Simple test repository to test BehatSpec functionality.
behatspec
branch is usingdev-master
version of BehatSpec.behat-phpspec
branch is usingleanphp/behat-phpspec
(temporary fork of BehatSpec).v0.5
branch is using^0.5
version of BehatSpec (not working)behat2-code-generator
is usingleanphp/behat-code-generator:~2.5
behat3-code-generator
is usingleanphp/behat-code-generator:3.0.x-dev
It contains a basic configuration of Behat3 and PhpSpec3 with BehatSpec enabled
and has an example features/product.feature
defined to test if behat and
phpspec integration works correctly.
Install dependencies via coposer:
$ composer install
Run tests via behat
:
$ bin/behat
The above command should offer you to generate PhpSpec specification for
Product class and then generate it by running phpspec
.