Skip to content

Behat extension to run phpspec desc command automatically for missing classes. [READ-ONLY] Subtree split from https://github.com/richardmiller/BehatSpec

License

Notifications You must be signed in to change notification settings

richardmiller-zz/PhpSpecExtension

Repository files navigation

PhpSpecExtension

Scrutinizer Code Quality Build Status

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