查看单个帖子
旧 2013-04-16, 09:44 AM   #1
yogy
高级会员
 
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
yogy 向着好的方向发展
默认 Visual Studio 2012 Right Click "Create Unit Test" is gone?

http://social.msdn.microsoft.com/Fo...0d-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.
yogy离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)