vivait / scrutinizer-formatter
Creates a formatter for PHPSpec to display failed scenarios against files in Scrutinizer
Installs: 1 143
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
pkg:composer/vivait/scrutinizer-formatter
Requires
- php: >=5.3
- phpspec/phpspec: dev-master
This package is not auto-updated.
Last update: 2020-01-20 03:18:16 UTC
README
Creates a formatter for PHPSpec to display failed scenarios against files in Scrutinizer
Usage
In order to run your PHPSpec tests and have Scrutinizer show any failed scenarios against their appropriate spec files, add the following to your build config:
before_commands: - "composer install" tools: custom_commands: - scope: file command: vendor/phpspec/phpspec/bin/phpspec run %pathname% -f scrutinizer --no-code-generation || true
Add the following to your phpspec.yml:
extensions:
- Vivait\ScrutinizerFormatterExtension\Extension