Terry Thibodeau's Blog

Welcome to Terry Thibodeau's Blog Sign in | Join | Help

Quick "Run tests in fixture" shortcut

We all know that, with Resharper installed, you can run all tests in your solution by typing ALT+R, U, N *.

You can run a single test by placing the cursor in the test method and pressing ALT+R, U, R.

How about running all the tests in the current test fixture class? Well, you can either place the cursor somewhere in the test fixture class (not in a test method) and do the RUR shortcut or, If you're a keyboard shortcut freak like I am, you can do the following:

CTRL+HOME,  ALT+DOWN, ALT+R,U,R

Keyboard: 1
Mouse: 0

* You must remove the silly Visual Studio "Refactor" menu first. Right-click the menu bar, choose Customize, then drag the Refactor menu off the toolbar.

Published Wednesday, May 23, 2007 3:10 PM by Terry Thibodeau

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Adam said:

Time for a macro.. ALT+0, ALT+1, etc don't have anything assigned to them at all out of the box with VS2005 + Resharper

July 13, 2007 5:37 PM
 

Terry Thibodeau said:

Agreed! Thanks!

I used to use macros all the time waaaay back ('98 - '99) when I was using Delphi. I kind of got out of the habit when I switched to Visual Studio because the macro support sucked (or at least it was too slow for me).

I am slowly trying to use macros more now that they seem easier to use.

July 17, 2007 7:56 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server (Personal Edition), by Telligent Systems