Skip to content

PhpSpec extension that adds running run command after describe command. [READ-ONLY] Subtree split from https://github.com/richardmiller/BehatSpec

License

Notifications You must be signed in to change notification settings

richardmiller-zz/PhpSpecRunExtension

Repository files navigation

PhpSpecRunExtension

Scrutinizer Code Quality Build Status

PhpSpec extension that adds running run command after describe command

Installation

This extension requires:

  • PhpSpec 3.0+
  • PHP 5.6+

The easiest way to install it is to use Composer

$ composer require --dev rmiller/phpspec-run-extension:^0.5

Activate the extension by specifying its class in your phpspec.yml:

# phpspec.yml
extensions:
  RMiller\BehatSpec\Extension\PhpSpecRunExtension\PhpSpecRunExtension: ~

It defaults to bin/phpspec for the path of phpspec and to run after the describe command. These can be overridden as follows:

# phpspec.yml
extensions:
  RMiller\BehatSpec\Extension\PhpSpecRunExtension\PhpSpecRunExtension: ~
rerunner:
  path: vendor/bin/phpspec
  commands: [describe, exemplify]
  config: path/to/phpspec.yml #optional

This will now also execute the run command after the exemplify command added by the ExemplifyExtension.

About

PhpSpec extension that adds running run command after describe command. [READ-ONLY] Subtree split from https://github.com/richardmiller/BehatSpec

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages