Customize junitxml testcase name and classname #12336
Unanswered
valentin-demange
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I don't know about an easy way to do this, but an alternative is to post-process the XML file and change the ids as you prefer. |
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
-
Hello,
An issue we have is that in the junitxml reports we have, testcase classnames and names are not convenient (see example below)
We would like to have the name to be name="{filepath}::{test_classname}::{test_name}" so that we can easily copy past to replay the failing test ?
I have try to implement with the code below, nonetheless the "::" character are always replaced in the xunitxml file. Is there a workaround ?
Beta Was this translation helpful? Give feedback.
All reactions