问题
In Visual Studio 2010 there were keyboard shortcuts to debug all tests, debug tests in context and more.
For reference, in VS 2010 the chords were:
- Debug: All Tests in Solution: Ctrl + R, Ctrl + A
- Debug: All tests in context: Ctrl + R, Ctrl + T
VS2010 also had keyboard commands to just Run All Tests
In VS 2012 I found the keyboard command for run all tests, Ctrl + R, A but can't find a keyboard command for debug all tests, which I found to be a really useful command.
Am I being dense and missing it? Did they remove the keyboard shortcut? I haven't found much information searching with Google or Bing.
回答1:
It looks like they are in Tools --> Options --> Keyboard with no ShortCut Assigned. It looks like the combinations that you used to use are still available.

回答2:
I seem to have the TestExplorer.DebugAllTests
set to Ctrl+D, A
...
And I'm pretty convinced that I've not set that up, but not sure where it came from or whether it's a standard VS 2012 keyboard shortcut
来源:https://stackoverflow.com/questions/13693324/visual-studio-2012-debug-tests-keyboard-shortcut