Hi, I am using the Cobertura plugin to report code coverage information. However, this information does not come from Cobertura, but from hand- made plumbing for JSCoverage.
I now have the problem that the Cobertura plugin does not find sources, so it cannot highlight coverage on the source file. I guess I am not outputting the paths correctly in coverage.xml. The problem is that there is no proper documentation on how to do this correctly. Currently, I have paths or filenames in two places: 1. At the beginning of the file, as <source> element inside the <sources> element, like this: <sources><source>PATH</source></ sources>. The question is whether this should be an absolute or a relative path, and if the latter, relative to what. 2. For each "class" (file in my case), I have something like: <class branch-rate="0" complexity="0.0" filename="tableWidget.js" line- rate="0.5652173913043478" name="tableWidget.js">. Again, should this be only a filename or a path. If it should be a path, relative to what? Thanks for your help! -- Jens