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

Configuring .NET Code Coverage

Last modified: 20 April 2023

TeamCity supports .NET code coverage using NCover, PartCover, and dotCover coverage engines. Configuration via the TeamCity UI is supported for

For the .NET CLI (dotnet) runner and with NUnit version 3.x the only supported coverage tool is JetBrains dotCover.

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.

Details on configuring code coverage can be found on the following pages: