Unit Test Explorer is used to:
- Browse unit tests in built projects.
- Select tests to include into test sessions that are run in the Unit Test Sessions window.
- Run coverage analysis for selected unit tests.
Note
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.
| Control | Name | Description |
|---|---|---|
| Refresh | Refreshes the list of tests in built solution. | |
| Run Selected Tests | Runs selected tests in the currently opened session of the Unit Test Sessions window. | |
| Debug Unit Tests | Debugs selected tests in the current session. | |
|
|
Cover Selected Tests | By clicking this button, you can perform code coverage on the selected tests. |
| Append Tests to Session | Includes selected tests into the session tab that is currently opened in the Unit Test Sessions window, without running them right away. | |
| Create New Session | Creates a new session in the Unit Test Sessions window containing the selected tests, without running them right away. | |
| Expand All/Collapse All | Expands/collapses all nodes in the current tab. | |
| Previous/Next | Navigate to the previous/next item and scrolls through the source code accordingly. | |
| Export | Click this button to export the data currently displayed in the window in text format, or use the drop-down selector to export the data in XML or HTML format. The Export Data dialog box that appears, will help you to save the data to a file or copy it to the clipboard. | |
| Group by | Groups tests using five alternative sets of criteria:
|
