-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable on a test suite? #27
Comments
@REBELinBLUE It's not currently possible to set different slowness thresholds on a per-test suite basis. But I would love to add that feature. How are you defining the test suites in your project? Would you mind posting an example? |
Thanks :) I'm just defining them using the tag in the phpunit config file |
@REBELinBLUE What might be the best way to disable the listener? Setting an extremely high What if the SpeedTrapListener supported configuring test suites by supplying the testsuite name? The options configuration could be defined as an array of arrays, where each array has:
The XML configuration would look like this for 2 test suites... what do you think?
|
Awesome, thanks that sounds ideal :) |
@johnkary It would be great if we could use the |
Is this on the roadmap at all? I’m in the exact same boat (got an integration test suite that has “slow” tests that I’d like to increase the threshold on). |
I know you can add the annotation to increase the timeout on a per test basis but is there a way to do it on a per test suite basis, for instance I know my integration tests are going to be slow because they tear down and recreate a database between tests
The text was updated successfully, but these errors were encountered: