vivait/scrutinizer-formatter

This package is abandoned and no longer maintained. No replacement package was suggested.

Creates a formatter for PHPSpec to display failed scenarios against files in Scrutinizer

1.0.2 2014-06-26 08:28 UTC

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