NCover Documentation

The example below serves as a guide for structuring a coverage configuration file. A list of all parameters and tags for the configuration can be found here.

<CoverageConfig version="3.3.4">
<WorkingDirectory>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE</WorkingDirectory>
<BuildId />
<CommandLineArgs>/testcontainer:"D:\SVS\SafetyViewMIB\SOURCE\SV_MIBConfig\SOURCE\SVCnfg\TestProject1\bin\Debug\TestProject1.dll"</CommandLineArgs>
<CommandLineExe>C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe</CommandLineExe>
<CoverageTrend>coverage.trend</CoverageTrend>
<CoverageMetrics>Symbol</CoverageMetrics>
<CoverageFile>coverage.nccov</CoverageFile>
<CoverAll>False</CoverAll>
<CoverChildProcess />
<CoverServiceName />
<LiteralMode>False</LiteralMode>
<HtmlReportDir />
<IncludeAutoGenCode>False</IncludeAutoGenCode>
<LogFile>coverage.log</LogFile>
<LoggingLevel>None</LoggingLevel>
<OnlyAssembliesWithSource>True</OnlyAssembliesWithSource>
<ProjectName>New Project</ProjectName>
<RegisterForUser>False</RegisterForUser>
<SetupGlobalEnvironment>False</SetupGlobalEnvironment>
<SymbolSearchLocations>Registry, SymbolServer, BuildPath, ExecutingDir</SymbolSearchLocations>
<WaitForAppExit>0</WaitForAppExit>
<WaitForAppLoad>1</WaitForAppLoad>
</CoverageConfig>

If you still need technical assistance, we can help:

Submit A Support Ticket