dotCover Web Help

Two sets of keyboard shortcuts are available for dotCover commands in Visual Studio:

  • Keyboard layout for users with Visual Studio background (Visual Studio).
  • Keyboard layout for users accustomed to IntelliJ IDEA-based shortcuts in ReSharper 2.5 and below (IntelliJ IDEA/ReSharper 2.x).

If you want to change the shortcut for any command, go to Tools | Options | Environment | Keyboard, find the command by its alias (see the right column in the tables below), press the new shortcut keys, and click Assign.

In this section, all commands are divided into several groups for your convenience:

Basic commands

Command Shortcut
(Visual Studio)
Shortcut (IntelliJ IDEA/
ReSharper 2.x)
Alias
Cover application Ctrl+Alt+K,K Ctrl+Alt+K,K dotCover_CoverApplication
Cover startup project Ctrl+Alt+K,P Ctrl+Alt+K,P dotCover_CoverStartupProject
Open snapshot Ctrl+Alt+K,O Ctrl+Alt+K,O dotCover_OpenSnapshot
Toggle highlighting Ctrl+Alt+K,H Ctrl+Alt+K,H dotCover_ToggleHighlighting
Show covering tests Ctrl+Alt+K,T Ctrl+Alt+K,T dotCover_ShowTestsCoveringContext
Locate in coverage tree Ctrl+Alt+K,L Ctrl+Alt+K,L dotCover_LocateInCoverageTree
Edit coverage filters Ctrl+Alt+K,F Ctrl+Alt+K,F dotCover_EditFilters
Coverage results browser Ctrl+Alt+K,B Ctrl+Alt+K,B dotCover_ShowCoverageResultBrowser

Coverage analysis of unit tests

Command Shortcut
(Visual Studio)
Shortcut (IntelliJ IDEA/
ReSharper 2.x)
Alias
Cover all tests in solution Ctrl+U,K Ctrl+T,K dotCover_CoverAllTestsFromSolution
Cover current test session Ctrl+U,I Ctrl+T,I dotCover_CoverAllTestsFromCurrentSession
Cover tests from context Ctrl+U,H Ctrl+T,H dotCover_CoverTestsInCurrentContext

Unit testing

Command Shortcut
(Visual Studio)
Shortcut (IntelliJ IDEA/
ReSharper 2.x)
Alias
Run unit tests Ctrl+U,R Ctrl+T,R dotCover_UnitTest_RunContext
Debug unit tests Ctrl+U,D Ctrl+T,D dotCover_UnitTest_DebugContext
Run all tests in solution Ctrl+U,L Ctrl+T,L dotCover_UnitTest_RunSolution
Run current test session Ctrl+U,Y Ctrl+T,Y dotCover_UnitTest_RunCurrentSession
Repeat previous test run Ctrl+U,U Ctrl+T,T dotCover_UnitTestSession_RepeatPreviousRun
Append to test session Ctrl+U,A Ctrl+T,A dotCover_UnitTestSession_AppendTests
Create new test session Ctrl+U,N Ctrl+T,N dotCover_UnitTestSession_NewSession
Unit Test Explorer Ctrl+Alt+U Ctrl+Alt+T dotCover_ShowUnitTestExplorer
Unit Test Sessions Ctrl+Alt+T Ctrl+Alt+R dotCover_ShowUnitTestSessions

Tool windows

Command Shortcut
(Visual Studio)
Shortcut (IntelliJ IDEA/
ReSharper 2.x)
Alias
Coverage results browser Ctrl+Alt+K,B Ctrl+Alt+K,B dotCover_ShowCoverageResultBrowser
Unit Test Explorer Ctrl+Alt+U Ctrl+Alt+T dotCover_ShowUnitTestExplorer
Unit Test Sessions Ctrl+Alt+T Ctrl+Alt+R dotCover_ShowUnitTestSessions