Closed gordonjl closed 11 years ago
That sounds more like karma-junit-reporter issue.
The reporter works fine when used alone (we use it with Jenkins), so there's probably some conflict when mixing the results with other junit xml files...
Moving to karma-junit-reporter where it belongs.
Thanks for posting on the reporter site.
This may be an issue with the junit report plugin with karma-runner, but thought I'd post here also. Jenkins does not pick up the junit-report formatted test results that are generated from running the karma tests. I've made the report output go to target/surefire-reports, like the usual junit tests go without luck. One thing I've noticed is that the karma-created junit report file has a parent element whereas the junit generated reports have a parent element. My theory is that jenkins is ignoring the test data because it is wrapped in the element, but I haven't had the chance to set up a test for this. Have you run into this? One caveat: I'm running the karma plugin along with a bunch of junit tests also, rather than having a project set up to solely run karma tests.