Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there shortcut keys for ReSharper's Unit Test Runner?

For obvious productivity reasons, I make an effort of learning and using as many of the keyboard shortcuts for the various Re# commands.

However, it seems that the unit test runner does not have any associated shortcut keys. I want to be able to select certain tests and be able to run or debug them without resorting to grabbing the mouse each time. Is using the mouse my only option?

like image 428
Ray Avatar asked Oct 06 '08 16:10

Ray


People also ask

What is the keyboard shortcut to set resharper?

Configure individual keyboard shortcutsChoose Tools | Options from the menu and then go to Environment | Keyboard page. Use the shortcut tables to find the alias of the command, to which you are going to assign a new shortcut.

How do I run unit tests with resharper?

Right click on the project or solution in the VS solution-explorer and choose 'Run Unit Tests' Or go to the Resharper menu, choose Unit-Testing and choose one of the options from there.


1 Answers

ReSharper adds items to Visual Studio's keyboard settings dialog box.

Go to:

Tools -> Options, Environment -> Keyboard

In the search bar, type "resharper" and see the vast options that you can control with the keyboard.

Specifically, there is one to launch the unit test explorer window, and there's a couple called

  • ReSharper.ReSharper_UnitTest_RunSolution
  • ReSharper.ReSharper_UnitTest_RunContext

that are likely what you need.

like image 175
Ben Scheirman Avatar answered Oct 13 '22 14:10

Ben Scheirman