-
Notifications
You must be signed in to change notification settings - Fork 125
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
Passing tests reported as failures when using godog junit format #218
Comments
Thank you for the bug report! I suspect this is actually a bug in When there is a missing pass or fail line I took a quick look at the attached files. Maybe that If you can reproduce the issue with a more minimal example we can open an issue on the Go issue tracker. |
Thanks for the quick response. Here's a more minimal example. |
It's only when using the "junit" formatting from godog that this is an issue. Further experimentation has shown that either using "pretty" godog formatting, or not using godog at all, while running "gotestsum --junitfile " produces expected behavior. |
It sounds like this is expected (because the output from |
The junit xml appears to be malformed.
✓ . (196ms)
=== Failed
=== FAIL: . TestMain (unknown)
--- PASS: TestMain (0.00s)
DONE 4 tests, 1 failure in 0.633s
testlib_test.go.txt
testlib.go.txt
The text was updated successfully, but these errors were encountered: