phpunit-speedtrap icon indicating copy to clipboard operation
phpunit-speedtrap copied to clipboard

How to Fail Slow Tests?

Open tylernathanreed opened this issue 2 years ago • 0 comments

I enabled the stopOnSlow setting, which appears to halt execution of PHPUnit, and yield a successful response.

Is there a different setting that would cause either the test or the execution of PHPUnit to fail on a slow test? I'd like to enforce our pipeline to straight up not allow slow tests, but I can't seem to find a way to do that out of the box with this package.

tylernathanreed avatar Mar 16 '22 16:03 tylernathanreed