Add coverage aggregates to the xml report produced by the console runner
The output of the console runner contains HTML and raw xml reports.
The HTML report is nice, however the contents of the XML files is a bit too detailed to get statistics from it.
It would be nice to have the same kind of data that is in the HTML file but in XML form (meaning, the % coverage per method/class/assembly/global). Something similar to the DotCover XML or JSON reports. In fact if the format was exactly the same as the dotcover reports we could leverage tools that can already process these files, like SonarQube.
At the moment no feature in NCrunch exists that can export coverage in partcover/opencover/sonarcube/dotcover format. This is because NCrunch's code coverage is flat over the source (i.e. files and directories) rather than IL-indexed (classes/methods).
We've been looking at ways to convert between these, though there are performance implications. At some stage this will likely happen.
Adam Cobb commented
We would very much like to use the code coverage statistics from NCrunch to feed into SonarQube as suggested above, is there any possibility of adding OpenCover or dotCover format support? Thanks.