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 <Program to Cover> [Program Parameters] [NCover Parameters]

All parameters that do not start with // will be passed to the profiled application. So, for example, running NCover.Console MyApp.exe /? //log-file MyLog.log would run code coverage on the call MyApp.exe /? while outputting log information to the file MyLog.log in the current directory

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