Run all test in file with ReSharper 5.x and VS2010

323 Views Asked by At

Is there a way I can tell the R# (5.x) test runner to run all the MSpec specs in the current file?

Something like the Ctrl+R + Ctrl+T shortcut of the Visual Studio test runner is what I'm after, be it a shortcut or a context menu command.

1

There are 1 best solutions below

4
On BEST ANSWER

Doesn't the menu item ReSharper -> Unit Tests -> Run Unit Tests do what you want to? When your cursor is placed between two tests methods, it will run all tests in the current class. When your cursor is placed outside a test class, it will run all tests in the current file.