Skip Menu |

This queue is for tickets about the TAP-Formatter-JUnit CPAN distribution.

Report information
The Basics
Id: 69058
Status: new
Priority: 0/
Queue: TAP-Formatter-JUnit

People
Owner: Nobody in particular
Requestors: khai.do [...] impinj.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.08
Fixed in: (no value)



Subject: testsuites
I have created a few perl tests modules using the TEST::CLASS framework. I run the test cases with prove outputting to a report using TAP::Formatter::JUnit. I then attempt to aggregate all of the reports using Ant’s junitreport task. The junitreport task fails and reports "not a valid testsuite XML document" because the perl reports are not in a standard junit format. The TAP::Formatter::JUnit formatter isn’t creating 100% compatible junit reports. The problem is that the generated reports contain a root level ‘testsuites’ element which isn’t the same as an individual junit report. Junit reports from junit framework only contain ‘testsuite’ elements. I have attached an ant project that reproduces the problem. There are two reports that it attempts to aggregrate, one from junit and the other one from TAP:Formatter:JUnit. It junitreport fails when attempting to read TAP generated report.
Subject: reportGen.zip
Download reportGen.zip
application/x-zip-compressed 2.8k

Message body not shown because it is not plain text.

Subject: perl reports are not 100% compatible with junit reports
From: khai.do [...] impinj.com