Name of test suite is duplicated in name of test case in the XML reports #158
Open
Description
The XML output currently puts the groups/contexts into the <testsuite>
element. Problem is, it also puts the same text into the <testcase>
element, like this:
<testsuite name="Legacy test for loading something" tests="1" time="80.267" failures="0" errors="1" skipped="0" timestamp="2016-03-08T21:24:43+11:00">
<testcase name="Legacy test for loading something passes the monolithic test" time="0.02">
...
Problem is, in Jenkins, when it displays the failure report, it ends up looking like this:
Legacy test for loading something.Legacy test for loading something passes the monolithic test
So for particularly long test names (possible if you have deeply nested contexts), a lot of text is duplicated in the report.
It seems like it should just be:
<testcase name="passes the monolithic test" time="0.02">
Metadata
Assignees
Labels
No labels