Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This plugin allows you to capture code coverage HTML reports from NCover and display the reports per project or build.

Screenshots

 
The post-build action when configuring a project:

 

The coverage project/build action which sends you to the archived HTML report:


 

Configuring the NCover Plugin

  1. Install the NCover plugin (via Manage Hudson -> Manage Plugins)
  2. Configure your project's build script to generate NCover HTML reports (See below for an example with Gallio)
  3. Enable the "Publisher NCover HTML report" publisher
  4. Specify the HTML report directory which is generated by NCover, relative to the project workspace.

Generating NCover HTML reports

 
For generic help on this topic, see http://docs.ncover.com/how-to/create-ncover-reports/

When using Gallio, you can simply use the NCover runner. You'll need to pass two arguments to Gallio.Echo.exe. Make sure to replace the variables in caps with the actual path you want:

  • /runner:ncover3
  • /runner-property:NCoverArguments="//html HTML_DIR_NAME //at TRENDS_FILE"
    • The "//at TRENDS_FILE" is optional but will keep track of coverage over time and include graphs in your HTML report

An example command might look like:

 C:\Program Files\Gallio\bin\Gallio.Echo.exe "C:\path\to\your.dll" /runner:ncover3 /runner-property:NCoverArguments="//html artifacts\coverage-html //at ncover3.trend"

Version History

Version 0.1.0 (2009/06/23)

  • Initial release, allowing for archiving and displaying of NCover HTML coverage report directories.
  • No labels