dotCover Web Help

dotCover shares the unit test support with another JetBrains .NET developer tool, ReSharper. These two tools have the same unit test runner engines as well as Unit Test Explorer and Unit Test Sessions windows. If you install dotCover after ReSharper, dotCover disables its own unit test runner so that you can continue using ReSharper's unit test commands and windows; all additional dotCover commands are integrated in ReSharper menus. For more information, see Sharing Unit Test Suppport with ReSharper.

 Note

If ReSharper is installed together with dotCover and ReSharper's unit test runner is used, you can configure unit testing support and plug-ins in ReSharper options: ReSharper | Options | Tools | Unit Testing. ReSharper's unit test support options are the same.

In dotCover options, you can configure the way dotCover supports unit testing.

To enable or disable unit test support
  1. On the main menu, choose dotCover | Options.
  2. Choose Unit Testing.
  3. On the dotCover Options | Unit Testing page that opens, tick or clear the Enable Unit Testing check-box.
  4. When the unit testing support is disabled, the dotCover | Unit Tests submenu of the main menu is grayed out; Unit Test Explorer and Unit Test Sessions windows are not available, the text editor integration features for unit tests are disabled.
To configure unit test support
  1. On the main menu, choose dotCover | Options.
  2. Choose Unit Testing.
  3. On the dotCover Options | Unit Testing page that opens, tick the Enable Unit Testing check-box.
  4. Use the controls on this page to adjust unit testing support. The detailed description of each control is given in the Unit Testing section in Reference.
  5. Out of the box, dotCover supports NUnit and MSTest. You can enable, disable, and configure these separately on the corresponding pages of dotCover options: dotCover Options | Unit Testing | NUnit and dotCover Options | Unit Testing | MSTest.

 Tip

If you are using xUnit or MSpec in your unit tests, make sure to download and install the corresponding plug-in to dotCover:

See Also

Concepts

Procedures