JetBrains dotCover
Last modified: 20 April 2023TeamCity comes bundled with console runner of JetBrains dotCover. Just by enabling configuration option you can collect code coverage for your .Net project and then view coverage statistics and detailed coverage report inside TeamCity web UI.
If you have a purchased dotCover installed on a developer machine, TeamCity-collected coverage results can be downloaded and viewed inside Visual Studio with the help of Visual Studio Addin.
dotCover Settings
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: |
Attribute Filters | Starting with TeamCity 7.1, if you don't want to know coverage data solution-wide, you can exclude from coverage statistics code marked with an attribute (for example, code marked with |
tip
Note, that dotCover coverage engine reports statement coverage instead of line coverage.
Thanks for your feedback!