Skip to content
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

Use the event elapsed time for package elapsed #216

Merged
merged 2 commits into from
Sep 4, 2021

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Aug 28, 2021

Fixes #213

I'm not sure why I implemented it as the sum of test elapsed times. From what I can tell the package pass/fail event has always had the proper elapsed time.

Using the time reported from the event should also be more accurate and include all the elapsed time from tests, as well as any time spent in init, TestMain, or static declarations.

Previously the sum of test elapsed time was used, which did not include
all the time.
@dnephin dnephin merged commit e5de87c into gotestyourself:main Sep 4, 2021
@dnephin dnephin deleted the pkg-elapsed branch September 4, 2021 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JUnit time is 0
1 participant