NCover Documentation

Please visit NCover Server Command Line Functions for updated information.

Build Id

Attaches a custom build id to the coverage data gathered, a random unique ID will be created otherwise. (Any string is a valid build id).

Usage:
//bi 2009-12-B1-Staging

Read Settings from a file

Read settings from a file.

Usage:
//cr "C:\dev\saved\settingsfile.xml"

Save Settings

Save coverage settings to a file.

Usage:
//cs "C:\dev\saved\settingsfile.xml"

Turn expert mode on.

Controls whether NCover checks its arguments for common (correctable) invocation mistakes and then corrects them.
Default Value: False

Usage: //expert

Register NCover

Temporarily enable NCover for the current user.
NOTE: This argument will not work for the //iis or the //svc arguments.

Usage:
//reg 

Global Environment

Configures NCover to cover processes that could start as services or as regular applications.

Usage:
//setupglobalenvironment

Working Directory

Set the working directory of the covered application.
NOTE: Does not apply to IIS or a service started with //svc.
NOTE: Does not apply to any //pm process.

Usage:
//w "d:\dev\code\"

Wait for Application Load

Tell NCover to wait the given number of minutes for the application to start up. If the application has not started up after the given amount of time, NCover will assume that it will never start up, and then exit.
Default: 1 minute

Usage:
//wal 8

If you still need technical assistance, we can help:

Submit A Support Ticket