Configuring .NET Code Coverage
Last modified: 20 April 2023TeamCity supports .NET code coverage using NCover, PartCover, and dotCover coverage engines.
Coverage configuration via the TeamCity UI is supported for:
NAnt runner: <nunit2> NAnt task
MSBuild runner: <NUnit> and <NUnitTeamCity> MSBuild tasks
Details on configuring code coverage can be found on the following pages:
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.
Thanks for your feedback!
Was this page helpful?