The NCover Action allows the automation of the .NET code coverage tool NCover.
Choose the type of run NCover is required to perform. The following options are available for this;
NUnit testing coverage, IIS, Service (with Service Name), and Command (with Command Arguments)
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).
Specify the working directory that will be set when running NCover.
Specify the level of logging and the file name that will be used for logging.
Normal Logging, No Logging, or Verbose Logging
The file to that the NCover report will be written to.
The file that the NCover HTML report will be written to.
There are three options for how to interact with the settings file for NCover. These are;
Ignore settings file, Read from settings file, or Write to settings file
The filename of the NCover settings file.
A list of the assemblies which will be profiles. Each should be specified with their full path and filename.
A list of the attributes and/or methods that should be excluded from the NCover analysis.