NCover Console

NCover.Console is a command line tool that can be utilized to execute an application, Windows Service, or IIS application and gather coverage data from the execution.

Basic Usage

NCover.Console [NCover Parameters] <Program to Cover> [Program Parameters]

All parameters that do not start with // will be passed to the profiled application. So, for example, running

NCover.Console //log-file MyLog.log MyApp.exe /?

would run code coverage on the call

MyApp.exe /?

while outputting log information to the file MyLog.log in the current directory.

Options

See the Command Line Flags for an exhaustive reference of the options available within NCover.Console.

See the MsBuild Tasks for a listing of build tool integration options for NCover.Console.

See the NAnt Build Tasks for a listing of build tool integration options for NCover.Console.

See the Configuration File Reference for the options available through NCover Console configuration files.