Community
Participate
Working Groups
If I try to import test results from a Maven job into the workspace, no tests are shown. The /api/xml call returns a slightly different structure for the test results.
See http://hudson.xwiki.org/job/xwiki-product-enterprise-tests-2.4/40/testReport/api/xml for an example.
Created attachment 178436 [details] Surefire test results as exposed by Hudson.
Interesting, looks like the Schema is indeed different and we would need to generate different stubs and provide a mapping for the model: http://hudson.xwiki.org/job/xwiki-product-enterprise-tests-2.4/40/testReport/api/schema
FWIW, there seem to be at least two another Schema, for MatrixTestResult - https://grid.sonatype.org/ci/job/Aether/99/testReport/api/schema .
The maven2 plug-in ships as part of Hudson by default so I think we should add support for this schema.
Added support for parsing the aggregated surefire tests results.