I've got a Jenkins with a lot of jobs. These jobs do tests and produce test outputs in XML. Those XML test results look - pretty standard - like this:
<testsuites name="testsuitesname">
<testsuite name="testsuitename">
<testcase classname="classname" name="testcasename">
blabla
</testcase>
</testsuite>
</testsuites>
When you use the Post-build action Publish JUnit test result report (found on the configuration page of a job) the structure of those published results of a build (in Jenkins) will be like this:
<root>
(headline: package)<classname>
(headline: class)<testcasename>
(headline: test name)
There is no <testsuitesname>
and no <testsuitename>
in this hierarchy like it is in the XML files.
Is there any option to either:
add the
<testsuitesname>
and<testsuitename>
to the hierarchy in the test result publishing hierarchy of a Jenkins build:- (
<root>
) <testsuitesname>
<testsuitename>
<classname>
<testclassname>
- (
or
- somehow add more hierarchy to the
<testcase>
tag?
Background: Because my test results are quite large (big amount) I want to add more hierarchy/structure to it and not just two levels (like it is now) to gain more overview over all of those results.
Can anybody help me or had a similar problem?
Best
Andy