TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Configuring .NET Code Coverage

Last modified: 20 April 2023

TeamCity NUnit Test Launcher bundles support for .NET code coverage using NCover, PartCover and dotCover coverage engines. Details on configuring code coverage can be found at corresponding pages:

Coverage support limitations



Coverage configuration via TeamCity UI is only supported for the cases when the the tests are run using TeamCity-managed test launchers. Specifically this covers: NAnt runner: <nunit2> NAnt task MSBuild runner: <NUnit> and <NUnitTeamCity> MSBuild tasks Any runner: TeamCity NUnit Test Launcher