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

Compare with Current View Page History

« Previous Version 2 Next »

The NCover Action allows the automation of the .NET code coverage tool NCover.

Options

NCover What?

Choose the type of run NCover is required to perform. The following options are available for this;

NUnit testing coverageIISService (with Service Name), and Command (with Command Arguments)

Note: When selecting NUnit as the application to execute the code you need to provide the command arguments to NUnit in the 'Command Arguments' field. If you're testing a single assembly it's enough to just specify the assembly path relative to the working directory (i.e. Program.Tests.dll).

Options

Working directory for profiled application

Specify the working directory that will be set when running NCover.

Output and Settings Files

Logging

Specify the level of logging and the file name that will be used for logging.

Normal LoggingNo Logging, or Verbose Logging

Log file name

The file to that the NCover report will be written. 

HTML report output path

The file that the NCover HTML report will be written to.

Settings file

Options

Ignore settings file

Read from settings file

Write to settings file

Settings file name

Assemblies and Attributes

  • Jason Smith - Add image for NCover Assemblies and Attributes tab.

List of assemblies to profile

Browse or enter an assembly to profile and then add it to the list by clicking the tick button.

List of attributes marking classes or methods to exclude

Click the ellipse (...) button to add NUnit attributes.

 

  • No labels