dotCover 2021.1 Help

Unit Test Explorer window

ReSharper | Windows | Unit Tests
ReSharper | Unit Tests | Unit Tests

Using this window, you can explore and run, debug or cover unit tests of all supported frameworks in the entire solution. Note that unit tests from a project only appear in the window after the project is built. Tests from currently opened files are updated automatically, new tests from the opened files appear in the unit test explorer as soon as you create them. For more information, see Working with Unit Tests in Project or Solution.

Unit Test Explorer displays test from the entire solution

Toolbar Controls

Themed icon refresh screen grayRefreshUpdates window content to reflect any changes made in the code or externally.
Themed icon run test screen grayRun Unit Tests Control+T R

Runs selected tests. To select multiple tests, click them holding the Ctrl key.

Themed icon debug screen grayDebug Unit Tests Control+T DStarts debugging for selected tests in the current session.
Themed icon cover screen grayCover Unit Tests Control+T HBy clicking this button, you can start code coverage of the selected tests.
Themed icon utr profile screen grayProfile Unit TestsBy clicking this button, you can profile selected tests.

This button appears if JetBrains dotTrace is integrated with Visual Studio.

Themed icon dot memory unit run screen grayRun Unit Tests under dotMemory Unit Control+T MRuns selected tests with dotMemory Unit enabled. Use this button to run tests that use dotMemory Unit framework to check code for memory issues.
Themed icon added parameter screen grayAppend Tests to Session Control+T AClick this button to add the selected tests to a test session. dotCover will suggest choosing one of the existing sessions or creating a new one.
Themed icon new session screen grayCreate New Session Control+T NCreates a new test session with selected tests, which is then opened in the Unit Test Sessions window.
Themed icon import screen grayImport SessionClick to open a test session that you have previously saved in a .testsession file.
Themed icon expand all screen gray Themed icon collapse all screen grayExpand All/ Collapse AllExpands/collapses all nodes in the current tab.
Themed icon up screen gray Themed icon down screen grayPrevious/ Next
Shift+F8/ F8
Navigate to the previous/next item and scrolls through the source code accordingly.
Group byAllows grouping items in the window by different categories.
Last modified: 08 March 2021