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
Test output is assumed to be tab-prefixed #18
Comments
The |
Sure. So for example output:
I'd expect output like
Then, if you have tests (as I do) that execute code with meaningful stderr logging statements, just redirecting that to stdout would allow those log messages to be captured in the XML for later examination on a per-test basis. So, from looking at the output, it doesn't seem to be about the tab prefixing, but until there is structured |
Ran into this too. Input:
Output:
It's forcing users to look at console output in Jenkins, instead of the parsed report ;/ go2xunit handles this correctly. |
@jstemmer Please use The textual output is more intended for humans. |
This has been fixed in v2.0.0. |
It may be true for test output coming from the
testing
package'sLog
methods, but I have some tests with meaninglog
output and failures generated bygocheck
that aren't included in the XML because they don't start with a tab.Where did the assumption of tab-prefixed console output come from?
Could we just remove that check in the parser?
The text was updated successfully, but these errors were encountered: