NCover Documentation

NCover.Console

  <p>
    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.
  </p>

  <h3>Basic Usage</h3>
  <p><code>NCover.Console &lt;Program to Cover&gt; [Program Parameters] [NCover Parameters]</code></p>
  <p>All parameters that do not start with // will be passed to the profiled application. So, for example, running
  <code>NCover.Console MyApp.exe /? //log-file MyLog.log</code>
  would run code coverage on the call
  <code>MyApp.exe /?</code>
  while outputting log information to the file MyLog.log in the current directory</p>

  <p>
    See the <a href="http://docs.ncover.com/ref/2-0/ncover-console/ncover-console-flag-summary">NCover.Console Flag Summary</a> for an exhaustive reference of the options
    available within NCover.Console.
 </p>

If you still need technical assistance, we can help:

Submit A Support Ticket

Try NCover Free Contact Us Online