-
Notifications
You must be signed in to change notification settings - Fork 11
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 goes into the wrong tag #50
Comments
@ctron thanks for the pointers! Hmm, this is odd because my code is calling Could you share a sample input/expected-output pair? |
Sure, here is an example: test-output.zip It contains the raw output (mostly JSON). The markdown of our report generator (with the expected output rendered) and the file generated by cargo2junit. |
@ctron Happy New Year! I looked at the output from your zip (thanks!) and I'm only seeing the string
It looks like the test is running a process, collecting it's |
That could be the case, yes. |
To me it looks like the output (standard output/error) goes into the wrong attribute/tag (
message
).Taking a look at some documentation: https://llg.cubic.org/docs/junit/ … there seems to be a
system-out
, which seems like a better fit.Writing the output to this tag would improve compatibility with other tooling: https://github.com/inorton/junit2html/blob/248e636278635254d97abcd5d153b08a4254cfbe/junit2htmlreport/templates/report.html#L108-L110
The text was updated successfully, but these errors were encountered: