Replies: 1 comment 1 reply
-
|
yikes - they really extended a xml format with a custom cdata format instead of anything sensible using the normal xml extension mechanisms i'm strictly opposed to have this horrible hack in core - it should be a plugin |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
According to this post: https://devblogs.microsoft.com/devops/junit-attachments-support-for-publish-test-results/
We can now attach files to test-cases in the junit xml for them to be attached and published in a azure devops pipeline.
If we could implement support for this, I would not need to use the pytest-nunit plugin (which does not work well for reporting Subtests).
Perhaps we could implement a similar fixture as in the pytest-nunit plugin (add_nunit_attachment).
Although i haven't gotten it to work (I think my DevOps instance might not support JUnit attachments yet) I have implemented the following fixture which according to that blog post should work:
I can generate a junit xml that looks like this:
Beta Was this translation helpful? Give feedback.
All reactions