Visual Studio 2012 debug tests keyboard shortcut

2020-08-09 16:53发布

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.

2条回答
欢心
2楼-- · 2020-08-09 17:56

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.

enter image description here

查看更多
我命由我不由天
3楼-- · 2020-08-09 18:00

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

查看更多
登录 后发表回答