-
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
Output total time taken by slow tests #85
Comments
@bdsl That's a good idea. I would accept a PR for that feature if someone would like to implement it. It should be fairly easy. If I were writing it, the PHPUnit outputs the total execution time in seconds. That makes sense for this feature because many slow tests together will likely exceed 1 second. Maybe an output like this when slow tests are found:
If no slow tests are detected output I'm open to any suggestions. The above is proposed as a starting point. |
Thanks @johnkary - sorry for radio silence. I'll try and give that a go this weekend. |
I think it would be really handy to see the total time taken by all the slow tests, to get a good idea of how useful it would be to speed them up or move them out of the main test suite.
I haven't looked at the implementation of phpunit-speedtrap but if this is a desired feature I think I'd be happy to have a go at implementing it.
The text was updated successfully, but these errors were encountered: