2017 © Pedro Peláez
 

library plugin-phpunit

PHPUnit Plugin for PhpGuard

image

phpguard/plugin-phpunit

PHPUnit Plugin for PhpGuard

  • Wednesday, June 4, 2014
  • by toni.munthi
  • Repository
  • 2 Watchers
  • 0 Stars
  • 226 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHPUnit Plugin

PHPUnit plugin for PhpGuard, (*1)

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

Installation

Using composer:, (*3)

$ cd /paths/to/project
$ composer require --dev "phpguard/plugin-phpunit @dev"

Options

Complete configuration options for PHPUnit plugin: * cli The options to passed to the phpunit command. Default: null * all_on_start Run all tests on startup. Default: false * all_after_pass Run all tests after changed tests 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, phpunit command will not running. Default: true * run_all_cli The options to passed to the phpunit command. Default value will be using cli options, (*4)

Configuration Sample

# /path/to/project/phpguard.yml
phpunit:
    options:
        cli:            "--testdox --colors"
        all_on_start:   false
        all_after_pass: false
        keep_failed:    true
        always_lint:    true
        run_all_cli:    "--colors"
    watch:
        - { pattern: "#^src\/(.+)\.php$#", transform: "functional/${1}Test.php" }
        - { pattern: "#^functional\/.*Test.php$#" }

The Versions

04/06 2014

dev-master

9999999-dev

PHPUnit Plugin for PhpGuard

  Sources   Download

MIT

The Requires

 

The Development Requires