I suggest you ...

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.

6 votes
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)

We’ll send you updates on this idea

Julien Adam shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • AdminRemco Mulder (NCrunch Developer, NCrunch Website) commented  ·   ·  Flag as inappropriate

    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  ·   ·  Flag as inappropriate

    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.

Feedback and Knowledge Base