NCover Documentation

IIS

Complete Edition Feature

NCover will start IIS and cover any code executed within it. Once IIS is stopped NCover will gather the coverage data. NCover will stop IIS if it is already running before starting it again.

Usage:
<CoverServiceName>W3SVC</CoverServiceName>

Service Timeout

Complete Edition Feature

After the given number of minutes, NCover will forcibly stop IIS or the service started with //svc and gather coverage data from it. Pass 0 (zero) to tell NCover not to stop the service. (By default, NCover will not stop the service)

Usage:
<ServiceTimeout>5</ServiceTimeout>

Windows Services

Complete Edition Feature

NCover will start and cover any code executed within the given service.

Usage:
<CoverServiceName>MSDTC</CoverServiceName>

Service Arguments

Complete Edition Feature

Adds startup arguments to the windows service argument list.

Usage:
<CoverServiceArguments><Argument>argument 1</Argument><Argument>arg 2</Argument></CoverServiceArguments>

If you still need technical assistance, we can help:

Submit A Support Ticket

Try NCover Free Contact Us Online