2017 © Pedro Peláez
 

library plugin-phpspec

PhpSpec Plugin for PhpGuard

image

phpguard/plugin-phpspec

PhpSpec Plugin for PhpGuard

  • Wednesday, April 15, 2015
  • by toni.munthi
  • Repository
  • 2 Watchers
  • 0 Stars
  • 277 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PhpSpec Plugin

PhpSpec plugin for PhpGuard, (*1)

License Latest Stable Version HHVM Status Scrutinizer Code Quality Master Build Status Coverage Status, (*2)

Installation

Using composer:, (*3)

$ cd /path/to/project
$ composer require --dev "phpguard/plugin-phpspec @dev"

Options

  • cli The options passed to the phpspec command. Default is: null
  • all_on_start Run all on phpguard startup. Default: false
  • all_after_pass Run all after changed file pass. Default: false
  • keep_failed Remember failed tests and keep running them until pass. Default: false
  • always_lint Always check file syntax with php -l before run. If check syntax failed, phpspec command will not running. Default: true
  • run_all_cli The options to passed to the phpspec command when running all specs. Default value will be using cli options

Config Sample

# /path/to/project/phpguard.yml
phpspec:
    options:
        cli:                "--format=pretty"
        all_on_start:       true
        all_after_pass:     true
        keep_failed:        true
        import_suites:      false
        run_all_cli:        "--format=dot"

    watch:
        - { pattern: "#^src\/(.+)\.php$#", transform: "spec/PhpGuard/Plugins/PhpSpec/${1}Spec.php" }
        - { pattern: "#^spec\/(.+)\.php$#" }

The Versions

15/04 2015

dev-master

9999999-dev

PhpSpec Plugin for PhpGuard

  Sources   Download

MIT

The Requires

 

The Development Requires