SaschaGalley / grunt-phpunit

Grunt plugin for running phpunit.
MIT License
68 stars 19 forks source link

failOnFailures = true Does not allow a grunt.watch to continue watching #32

Open seebees opened 10 years ago

seebees commented 10 years ago

https://github.com/SaschaGalley/grunt-phpunit/blob/master/tasks/lib/phpunit.js#L36

I think that you want to return true? I know that this will tell the world that the task succeeded, but if you return false it will stop and my watch will not run tests anymore :(

Grunt 0.4.5

weotch commented 9 years ago

:+1:

weotch commented 9 years ago

To work around this, I switched to using grunt-shell with this simple config:

phpunit: {
  command: 'phpunit',
  options: { failOnError:false }
}