karma-runner / maven-karma-plugin

Maven plugin for running tests using Karma.
Apache License 2.0
45 stars 26 forks source link

Jenkins Does Not Report karma-runner Junit report #1

Closed gordonjl closed 11 years ago

gordonjl commented 11 years ago

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.

vojtajina commented 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...

vojtajina commented 11 years ago

Moving to karma-junit-reporter where it belongs.

gordonjl commented 11 years ago

Thanks for posting on the reporter site.