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

0.5.0 2017-01-24 15:37 UTC

This package is not auto-updated.

Last update: 2024-11-05 02:38:21 UTC


README

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