The second link in the "All Failed Tests" table breaks when this JUnit XML
is used, is it a bug?
XML:
<testsuite name="suite" tests="2" failures="2" time="12">
<testcase classname="package1.class1" name="test1" time="6">
<failure type="ftype" message="msg">failed with seed value of
123</failure>
</testcase>
<testcase classname="package1.class1" name="test1" time="6">
<failure type="ftype" message="msg">failed with seed value of
456</failure>
</testcase>
</testsuite>
It looks like the problem is that although Jenkins is able to link to the
test results themselves, it does not create two test result instances in
the javascript:
<a id="test-package1.class1.test1-showlink"
href="javascript:showStackTrace('test-package1.class1.test1','package1/class1/test1//summary')">>>></a>
<a id="test-package1.class1.test1-showlink"
href="javascript:showStackTrace('test-package1.class1.test1','package1/class1/test1_2//summary')">>>></a>
Pay attention to the SECOND argument to the javascript:showStackTrace()
call: test1 and test1_2 are different, while the FIRST argument is the same
in both cases.
Question: Can duplicate tests be accommodated somehow? If not, is there a
test report format that supports running multiple iterations of the same
test?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.