Configuring .NET Code Coverage
TeamCity supports .NET code coverage using NCover, PartCover, and dotCover coverage engines. Configuration via the TeamCity UI is supported for:
- NUnit build runner
NAnt runner: <nunit2> NAnt task
MSBuild runner: <NUnit> and <NUnitTeamCity> NUnit for MSBuild
If you use a test framework other than NUnit, you can configure coverage analysis manually using the JetBrains dotCover console runner and TeamCity service messages as described in Manually Configuring Reporting Coverage.