Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Missing package attribute in testsuite tag result in missing results in Jenkins test report #48

Open
VivaGrendel opened this issue May 12, 2017 · 1 comment

Comments

@VivaGrendel
Copy link

We use WDIO in combination with wdio-junit-reporter to get test reports parsed in Jenkins.

The issue is that even if all jUnit XML files are correctly produced by the reporter, Jenkins sometimes misses reporting part of the test suites and cases results.

Example, we have 8 tests being executed, for each build we always have all the jUnit xml files reporting all 8 tests but Jenkins will only report between 5 to 8, producing inconsistency and making us impossible to rely on the report.

Investigation showed that adding "package" attribute to the testsuite tag fixes the issue.

Based on https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd#L112, this attribute is optional.

Is it possible to add a configuration parameter to specify this attribute?

@christian-bromann
Copy link
Contributor

Sure, PRs welcome

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

No branches or pull requests

2 participants