The .NET Unit Test Runner and Code Coverage Tool

30天免费试用

Analyze .NET code coverage

JetBrains dotCover is a .NET unit test runner and code coverage tool that integrates with Visual Studio and JetBrains Rider.

Make sure you know to what extent your code is covered with unit tests. dotCover calculates and reports statement-level code coverage in applications targeting .NET Framework, .NET Core, Mono, or Mono for Unity.

Unit testsManual test sessions

Unit tests

Execute and debug unit tests and run coverage analysis of unit tests in Visual Studio or using the command-line utility. dotCover supports many unit testing frameworks including MSTest, NUnit, xUnit, and MSpec.

Manual test sessions

For manual test sessions, dotCover shows what parts of code were called during the session and which parts were not reached. Using the coverage analysis data, you can easily get to the source code of the tested application.

Detecting hot spots

Detect potential risk areas at a glance with Hot Spots view, which shows the most complex methods with the least coverage. Get your coverage analysis off to a good start with an intuitive graphical representation.

Hot spots view

Seamless integration with Visual Studio and JetBrains Rider

dotCover integrates with Visual Studio and JetBrains Rider, giving you the advantage of analyzing and visualizing code coverage without leaving the code editor. It supports Visual Studio 2010–2026 and JetBrains Rider 2018.2 or later.

Seamless integration with Visual Studio

Continuous testing

dotCover can figure out on-the-fly which unit tests are affected by your latest code changes, and automatically re-runs the affected tests for you.

The continuous testing mode can be switched on for any unit test session: this way you can choose which tests you want to run continuously and which to run the traditional way.

Continuous testing

Why dotCover

Coverage highlighting

dotCover can visualize code coverage for your convenience. You can see highlighted statements covered and uncovered in a particular coverage session, right in Visual Studio.

Continuous coverage analysis

dotCover offers a console utility for use with a Continuous Integration server. In addition, a free server-side version of dotCover is built into TeamCity.

Filtering and excluding nodes

Customize your coverage analysis with a coverage filter. When you exclude specific items from a coverage snapshot, dotCover instantly recalculates coverage statistics.

Navigation to covering tests

Use a shortcut to detect which unit tests cover a particular statement: a pop-up in Visual Studio will display a list of the covering tests and let you navigate to any of them.

使用 dotUltimate
解锁更多开发能力

利用高级分析器、覆盖工具以及 AI 赋能功能提升您的工作效率,并选择最适合您项目的 IDE。获取 dotUltimate,这是一种经济高效的解决方案,可以满足您所有的 .NET 和游戏开发需求。
Rider
ReSharper
ReSharper C++
AI Assistant
dotCover
dotTrace
dotMemory
dotPeek

获取仅限 dotUltimate 订阅者使用的顶级分析器和覆盖工具,并按照您的方式工作,在 Rider 和 ReSharper 之间无缝切换。

通过集成到 Rider 和 ReSharper 中的 AI 赋能功能加速您的工作流,提升编码速度并使编码更加愉悦。

通过单一的综合许可证减少采购开销并优化成本。使用 dotUltimate 为您的业务增长做好准备,它会随着开发者需求的变化不断发展。

  1. 获取仅限 dotUltimate 订阅者使用的顶级分析器和覆盖工具,并按照您的方式工作,在 Rider 和 ReSharper 之间无缝切换。

1 / 3(Current Item: 1)

Teams all over the world use dotCover. Join them!

30天免费试用

经过验证的合规性与安全性

JetBrains 工具遵循行业领先的安全标准,包括 SOC 2 认证,确保贵组织的数据得到保护,并且我们的产品符合全球法规。我们的信任中心提供了所有 SOC 2 报告、渗透测试报告摘要和安全问卷。