phpguard / plugin-behat
Behat Plugin for PhpGuard
dev-master
2014-08-27 04:30 UTC
Requires
- behat/behat: ~3.0
- phpguard/phpguard: 0.1.*@dev
Requires (Dev)
- bossa/phpspec2-expect: *
- phpguard/plugin-phpspec: @dev
- phpspec/phpspec: 2.1.*@dev
This package is not auto-updated.
Last update: 2024-04-13 13:46:41 UTC
README
Behat plugin for PhpGuard
Installation
Using composer:
$ cd /path/to/project $ composer require --dev "phpguard/plugin-behat @dev"
Options
cli
The options passed to thebehat
command. Default is:null
all_on_start
Run all onphpguard
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 withphp -l
before run. If check syntax failed,behat
command will not running. Default:true
run_all_cli
The options to passed to thebehat
command when running all specs. Default value will be usingcli
options
Config Sample
# /path/to/project/phpguard.yml behat: 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/behat/${1}Spec.php" } - { pattern: "#^spec\/(.+)\.php$#" }