I really found this solution for myself using the keyboard command associated with the macro. The macro was recorded in Tools> Macros> Record Temporary Macro. During recording, I selected the [Tests] folder and ran ReSharpers UnitTest.ContextRun. This led to the following macro,
Sub TemporaryMacro() DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer).Activate DTE.ActiveWindow.Object.GetItem("TestUnitTest\Tests").Select(vsUISelectionType.vsUISelectionTypeSelect) DTE.ExecuteCommand("ReSharper.UnitTest_ContextRun") End Sub
which then attached its own keyboard command to it in the menu "Tools"> "Options"> "Environment"> "Keyboard".
However, even more surprisingly, this is a more general solution where I can fine-tune which projects / folders / classes to launch and when. For example, using an xml file. Then it could be easily checked in version control and distributed among all who work with the project.
source share