How to calculate code coverage with NCover using Jenkins? How to calculate code coverage with NCover using Jenkins? jenkins jenkins

How to calculate code coverage with NCover using Jenkins?


You can use the NCover plug-in or a post-build-task to start the calculation.

For second variant we mostly use a simple batch-file to start the action (in your case the ncover calculation). This batch-file will be called by the jenkins post-build-task.

Edit:

To get HTML you can do it via (look here):

NCover.Reporting Coverage.xml //or FullCoverageReport:Html //op "C:\Coverage Report"