dev-master
9999999-devPHPUnit Plugin for PhpGuard
MIT
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
PHPUnit Plugin for PhpGuard
PHPUnit plugin for PhpGuard, (*1)
Using composer:, (*3)
$ cd /paths/to/project $ composer require --dev "phpguard/plugin-phpunit @dev"
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)
# /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$#" }
PHPUnit Plugin for PhpGuard
MIT