TeamCity On-Premises
 
Get TeamCity On-Premises

Configuring .NET Code Coverage

Edit pageLast modified: 18 March 2024

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

For the .NET 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 here.

Individual dotCover snapshots produced by separate .NET and NUnit runners can be merged into one consolidated coverage report by the dotCover.