yogy 发表于 2013-4-16 09:44:33

Visual Studio 2012 Right Click "Create Unit Test" is gone?

http://social.msdn.microsoft.com/Forums/zh-CN/vssetup/thread/f76aafa9-3ea8-4ff3-940d-0dcf3bb70273
1. use VS2010 to create Test proj and tests then open in VS2012
2.
The menu item is still in place, but for unknown reasons it'sinvisible in the code editor. But you can use visual studio commands torun unit test wizard. The command you need is

EditorContextMenus.CodeWindow.CreateUnitTests
Open Command Window and type the command there.

yogy 发表于 2013-4-16 09:50:56

回复: Visual Studio 2012 Right Click "Create Unit Test" is

You can create a unit test shortcut in VS2012 by:

   Open Tools > Options > Environment > Keyboard
   Filter Create Unit Test command by typing “createunit” in the “Show Commands Using” text box
   Select It and choose “Text Editor” in “Use New Shortcut in” combo box
   Press the shortcut key you want
http://social.msdn.microsoft.com/Forums/getfile/233628

yogy 发表于 2013-4-18 15:57:03

回复: Visual Studio 2012 Right Click "Create Unit Test" is

VS 2012 Ultimate 序列号

Visual Studio 2012 Ultimate旗舰版序列号:
YKCW6-BPFPF-BT8C9-7DCTH-QXGWC
YQ7PR-QTHDM-HCBCV-9GKGG-TB2TM
点击帮助-注册产品-输入Key就可以了
页: [1]
查看完整版本: Visual Studio 2012 Right Click "Create Unit Test" is gone?