Run all test in file with ReSharper 5.x and VS2010
-
29-10-2019 - |
Question
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.
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow