You are viewing the documentation of TeamCity 8.x, which is not the most recently released version of TeamCity.
View this page in TeamCity 9.x documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.

Skip to end of metadata
Go to start of metadata

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

Coverage support limitations

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

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.

See also:

Administrator's Guide: NUnit Support

  • No labels