Need actual Junit reports to be generated and not Just Junit Style reports
Hi,
Jenkins and Test Complete Integration produces just 'Junit Style Reports' but not the actual 'Junit report'. Since this is not an actual 'Junit Report', this format is not being accepted while posting the report in our system.
Here are the examples of Junit Style Report and actual Junit Report
Junit Style Report- Result from Jenkins-TestComplete integration:
<?xml version='1.0' encoding='UTF-8'?>
<result plugin="junit@1.20">
<suites>
<suite>
<file>C:\Jenkins\jobs\Test\builds\51\tcreports\8023278.xml</file>
<name>ETR</name>
<duration>47.851</duration>
<timestamp>2017-08-01T06:33:49.972-04:00</timestamp>
<time>47.85100173950195</time>
<cases>
<case>
<duration>47.851</duration>
<className>ETR.ETR</className>
<testName>ProjectTestItem1</testName>
<skipped>false</skipped>
<failedSince>0</failedSince>
</case>
</cases>
</suite>
</suites>
<duration>47.851</duration>
<keepLongStdio>true</keepLongStdio>
</result>
Actual Junit report:
<?xml version="1.0" encoding="UTF-8" ?>
<testsuites id="20140612_170519" name="New_configuration (14/06/12 17:05:19)" tests="225" failures="1262" time="0.001">
<testsuite id="codereview.cobol.analysisProvider" name="COBOL Code Review" tests="45" failures="17" time="0.001">
<testcase id="codereview.cobol.rules.ProgramIdRule" name="Use a program name that matches the source file name" time="0.001">
<failure message="PROGRAM.cbl:2 Use a program name that matches the source file name" type="WARNING">
WARNING: Use a program name that matches the source file name
Category: COBOL Code Review – Naming Conventions
File: /project/PROGRAM.cbl
Line: 2
</failure>
</testcase>
</testsuite>
</testsuites>