TeamCity 6.0 Help

JetBrains dotCover

TeamCity comes bundled with JetBrains dotCover engine. You don't need to install dotCover engine to any of your agents.

To configure dotCover:

  1. While creating/editing Build Configuration, go to the Build Steps page.

  2. Add NUnit or MSTest build step, configure unit tests.

  3. Select JetBrains dotCover in .NET coverage tool.

  4. Set up the dotCover options - find the description of the available options below.

Path to dotCover Home

Leave this field blank to use bundled dotCover. Alternatively, specify path to dotCover installed on a build agent.

Filters

Specify assemblies to profile one per line using following syntax: +:myassembly=*;type=*;method=***. Use -:myassembly to exclude an assembly from code coverage. Asterisk wildcard (*) is supported here.

Last modified: 20 April 2023