ReSharper 2016.3 Help

Unit Test Explorer window

ReSharper | Windows | Unit Tests
ReSharper| Unit Tests | Unit Tests
Ctrl+Alt+T

Using this window, you can explore and run or debug unit tests in the entire solution. The window displays all tests from the supported frameworks in the 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 these 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.

To search tests, start typing a test name or its CamelHumps abbreviation as soon as your focus is in this window.

Unit Test Explorer displays test from the entire solution

Toolbar Controls

ControlNameDescription
/help/img/dotnet/2016.3/ThemedIcon.Refresh.Screen.[Gray].png Refresh Updates window content to reflect any changes made in the code.
/help/img/dotnet/2016.3/ThemedIcon.RunTest.Screen.[Gray].png Run Unit Tests Ctrl+T,R Runs selected tests. To select multiple texts, use the Ctrl key.
/help/img/dotnet/2016.3/ThemedIcon.Debug.Screen.[Gray].png Debug Unit Tests Ctrl+T,D Debugs selected tests in the current session.
/help/img/dotnet/2016.3/ThemedIcon.UtrProfile.Screen.[Gray].png Profile Unit Tests This button appears if JetBrains dotTrace is integrated with Visual Studio. By clicking this button, you can profile selected tests.
/help/img/dotnet/2016.3/ThemedIcon.JetBrainsDotCoverPresentationVsResourcesUnitTestingCoverageCover.Screen.[Gray].png Cover Unit Tests Ctrl+T,H

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

By clicking this button, you can perform code coverage on the selected tests.
/help/img/dotnet/2016.3/ThemedIcon.AddedParameter.Screen.[Gray].png Append Tests to Session Ctrl+T,A Includes selected tests into the session tab that is currently opened in the Unit Test Sessions window, without running them right away.
/help/img/dotnet/2016.3/ThemedIcon.NewSession.Screen.[Gray].png Create New Session Ctrl+T,N Creates a new session in the Unit Test Sessions window for the selected tests.
/help/img/dotnet/2016.3/ThemedIcon.ExpandAll.Screen.[Gray].png /help/img/dotnet/2016.3/ThemedIcon.CollapseAll.Screen.[Gray].png Expand All/ Collapse All Expands/collapses all nodes in the current tab.
/help/img/dotnet/2016.3/ThemedIcon.Up.Screen.[Gray].png /help/img/dotnet/2016.3/ThemedIcon.Down.Screen.[Gray].png Previous/ Next Shift+F8/F8 Navigate to the previous/next item and scrolls through the source code accordingly.
/help/img/dotnet/2016.3/ThemedIcon.Export.Screen.[Gray].png 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 that appears, will help you to save the data to a file or copy it to the clipboard.
Group by Allows grouping items in the window by different categories.

See Also

Last modified: 3 April 2017