dotCover automatically detects MSTest and NUnit tests in your projects.
If you are using xUnit or MSpec in your unit tests, make sure to download and install the corresponding plug-in to dotCover:
- xunitcontrib-dotcover to run xUnit tests with dotCover.
- Machine.Specifications to run MSpec tests with dotCover.
If the plug-ins are installed, these tests will be also detected.
After you build a project, dotCover populates Unit Test Explorer with the list of tests that it has detected in the project.
In the editor, next to declarations of test classes and single tests, dotCover adds special icons on the left gutter of the editor window. You can click these icons to run or debug tests as well as to run coverage analysis of the tests .
|Test class declaration||