From: Lei C. <che...@gm...> - 2011-10-12 23:39:48
|
I'm running Cobertura under Maven using Sonar, with command: mvn sonar:sonar. I'm seeing Cobertura coverage analysis being generated under ../target/site/cobertura/ and the directory contains index.html along with other HTML files. If I open up index.html under a browser, it looks like valid coverage analysis output. I have another project that generates the HTML files along with coverage.xml, but for some reason, the second project only generate the HTML files, but not coverage.xml. The only difference is the first project has all-passing unit tests. The second project does not. Is this the reason why coverage.xml is not generated? If not, how do I generate coverage.xml? |