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

Support attachments via stdout in the JUnit XML reader #80

Open
delatrie opened this issue Jan 29, 2025 · 0 comments
Open

Support attachments via stdout in the JUnit XML reader #80

delatrie opened this issue Jan 29, 2025 · 0 comments

Comments

@delatrie
Copy link
Collaborator

There is a convention for attaching files to the JUnit XML report via the standard output. The file path is embedded in the [[ATTACHMENT|<path>]] format:

<testcase name="foo" classname="bar">
  <system-out>
<![CDATA[
[[ATTACHMENT|./path-relative-to-junit-xml]]
[[ATTACHMENT|/absolute-path]]
]]>
  </system-out>
</testcase>

The convention is supported by many CI systems (Jenkins, Azure, etc).

We should support it as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant