几何尺寸与公差论坛

 找回密码
 注册
查看: 55551|回复: 2

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

[复制链接]
发表于 2013-4-16 09:44:33 | 显示全部楼层 |阅读模式
http://social.msdn.microsoft.com ... 3-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's  invisible in the code editor. But you can use visual studio commands to  run unit test wizard. The command you need is

EditorContextMenus.CodeWindow.CreateUnitTests
Open Command Window and type the command there.
 楼主| 发表于 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
 楼主| 发表于 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就可以了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 01:47 , Processed in 0.038455 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表