In VS2010, one can Run or Debug Tests in Current Context.
That made it easy to click on a test I had just added or modified and run it (Ctrl–R T) or debug it (Ctrl–R Ctrl–T). (or with my gaming keyboard… G1 😉
The only way I can find to run a specific test is to locate it in Test Explorer and run it from there. That requires shifting my focus away from the code I’m working on.
Is there something equivalent to Current Context in Visual Studio 2012?
It turns out that one can right-click on the source code of any of:
public void MyTest())public class MyTestClass)namespace My.Project.Test)and get a context menu to either run or debug tests within each given scope. (Note: Text in Context Menu does not change)
This has proven the most useful method of selectively running tests for me.