johnkary/phpunit-speedtrap

How to Fail Slow Tests?

tylernathanreed opened this issue · 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.