dotCover Web Help

dotCover automatically detects MSTest and NUnit tests in your projects.

Tip

Support for other testing frameworks (e.g. xUnit) is available via dotCover extensions. For more information, see Managing Extensions.

If the extensions are installed, the corresponding 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 .

Mark Test Example
testClassMark Test class declaration

Unit_Testing__Recognizing_Unit_Tests__test_class

testClassMarkIndividual Individual tests

Unit_Testing__Recognizing_Unit_Tests__individual_test 

If the Enable action bar for action indicators and show it next to the left margin check box is selected on the Editor Appearance page of the Options dialog box, unit tests specific actions are combined with quick-fixes, context actions, etc. on the left gutter.