Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testsuites #2

Open
bleargh45 opened this issue Jan 6, 2021 · 1 comment
Open

testsuites #2

bleargh45 opened this issue Jan 6, 2021 · 1 comment

Comments

@bleargh45
Copy link
Owner

Migrated from rt.cpan.org #69058 (status was 'new')

Requestors:

Attachments:

From [email protected] on 2011-06-23 21:54:23
:

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.

@bleargh45
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant