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

Print incomplete tests as failures in the summary #104

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Apr 20, 2020

Related to #94, #99

If a test panics it may never send a final ActionFail event. By tracking the
running tests we can add any incomplete tests to Failed when the execution
ends.

This behaviour changed in go1.14. See golang/go#38382 (comment)

@dnephin dnephin force-pushed the fix-missing-output-on-panic branch from 7f0abe8 to 480c8f3 Compare April 20, 2020 02:04
If a test panics it may never send a final ActionFail event. By tracking the
running tests we can add any incomplete tests to Failed when the execution
ends.

This behaviour changed in go1.14. See
golang/go#38382 (comment)
@dnephin dnephin force-pushed the fix-missing-output-on-panic branch from 480c8f3 to db873a2 Compare April 20, 2020 04:28
@dnephin dnephin merged commit 08303fe into gotestyourself:master Apr 21, 2020
@dnephin dnephin deleted the fix-missing-output-on-panic branch April 21, 2020 00:53
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.

1 participant