-
Notifications
You must be signed in to change notification settings - Fork 61
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
Max execution time #120
Max execution time #120
Conversation
5e50592
to
69131eb
Compare
c6371bf
to
154a66a
Compare
945b319
to
dde8c12
Compare
7b56aa4
to
107e9e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @vansari
@ccsuperstar Thank you for your contribution. Please do not forget to write a test for your changes. |
yes I will do it, then I guess I have to do tests for codeception 5 and for the previous versions |
2dccaaa
to
bd82ac3
Compare
…me of all html reports for report.html
bd82ac3
to
d91d2bf
Compare
Related to issue #119
The html reports with Codeception 4 have an execution time format of the form 198.165s
The html reports with Codeception 5 have an execution time format of the form 22:45.165
The regex matches both versions
Added maxSuiteTime support for the final xml report (the execution time of a suite is the longest run time among all parallel runs)
max($this->suiteDuration[$suiteName])
Added maxTime support for the final html report (the total execution time is the longest run time among all parallel runs)
$this->executionTime[] = (string)$matches['timesum'];
$executionTime = max($this->executionTime);
I am looking for feedbacks, I think everything can be improved!