Open vojtajina opened 11 years ago
Great, thanks for opening this. Please let me know if I can help at all.
Yeah, I'm interested in this as well, though my interest is a little different.
I'd like to see combination of the coverage report across unit tests + E2E tests for instance. That would necessitate some sort of task outside of Karma to munge the JSON together.
So if / when this gets built, it might be useful to have the lcov merging in a separate lib.
/cc @taichi @Dignifiedquire
Also, links from the previous issue should be: https://github.com/karma-runner/karma/issues/240 https://github.com/karma-runner/karma-coverage/blob/master/lib/reporter.js#L72-L78
I'm also interested to see that coming.
For now I'm using a dumb shell script + lcov to merge reports : https://gist.github.com/xseignard/5420661 so then I can use Sonar to have a clean quality dashboard for my node,angular and plain js projects. See: https://github.com/xseignard/sonar-js as a simple demo
I have done some experiment with https://github.com/mweibel/lcov-result-merger it works pretty well.
Sort of workaround — https://github.com/princed/karma-coverage-html-index
See https://github.com/karma-runner/karma/issues/240 for more
A single report for all browsers.