Visual Studio 2010 Ultimate中缺少测试模板 [英] Test templates missing in visual studio 2010 ultimate

查看:48
本文介绍了Visual Studio 2010 Ultimate中缺少测试模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

缺少诸如编码UI测试和Web性能测试之类的测试模板。

Test templates such as Coded-UI testing and Web performance testing are missing.

我最初安装了Visual Studio 2010专业版。我升级到Visual Studio 2010 Ultimate只是为了使用Code-UI测试和Web性能测试功能。
但是,似乎缺少这些选项。好像升级对其他测试模板没有影响。

I originally had visual studio 2010 professsional installed. I upgraded to visual studio 2010 ultimate just so that I wanted to use Coded-UI testing and Web performance testing features. However, the options seem to be missing. It is as if the upgrade has not made a difference with regards to additional testing templates.

我安装了Visual Studio 2010最终评估版。

I have a visual studio 2010 ultimate evaluation version installed.

我已经检查了工具>选项>测试工具:但是这里似乎没有任何可以更改的内容。在网上也搜索过,到处似乎都表明在安装VS 2010 Ultimate之后,您应该拥有创建附加测试的模板。

I have checked in Tools > Options > Test tools: but doesn't seem to have anything in here that I can change. Searched online too, everywhere seem to suggest that after VS 2010 Ultimate installed, you should be have the templates to create the additional tests.

如果我进入菜单,请选择测试>新测试>添加新测试对话框,
这里我只有基本单元测试,有序测试,单元测试,单元测试向导
也尝试过,右键单击测试项目,在这里添加>编码UI测试没有选项!

If I go to menu, Test > New test > Add new test dialog, Here I just have "Basic Unit test", "Ordered test", "Unit test", "Unit Test wizard" Have also tried, Right click the Test project, Add > no option for Coded-UI test here!

有人遇到过这样的事情吗?

Has anyone come across anything like this?

感谢任何建议,
谢谢,弗雷德

Any advice is appreciated, Thanks, Fred

编辑09:22 GMT 26-05-2012:

我使用了Visual Studio Ultimate Web安装程序。我仔细检查了安装时要选择的选项。这里没有特定于测试的选项。因此,选择了Visual C#+ Visual Web开发人员+图形库

I used the visual studio ultimate web-installer. I double checked the options to select while installation. There is no option specific to testing here. So, selected Visual C# + Visual Web developer + Graphics library

推荐答案

从VS2010 Professional升级到VS2010 Ultimate时遇到了这个问题。我认为可能是由于已经在Professional中安装了SP1引起的。我通过执行以下操作解决了该问题:

I had this issue when upgrading from VS2010 Professional to VS2010 Ultimate. I think it may have been caused by having already installed SP1 in Professional. I solved it by doing the following:


  • 进入Windows 添加/删除程序并运行针对VS2010修复(需要很长时间)。

  • 您可能需要重新启动,如果出现提示,请不要跳过重新启动。

  • 重新运行 VS2010 SP1设置,并在出现提示时(很长的时间)运行修复

  • Go into Windows Add/Remove programs and run a Repair against VS2010 (takes a LONG time).
  • You might need a reboot, do not skip the reboot if prompted.
  • Re-run VS2010 SP1 setup and run Repair when prompted (takes a LONG time).

这应该可以解决问题!运行VS2010,现在应该可以访问模板了!

That should do the trick! Run up VS2010 and the templates should now be accessible!

祝你好运!

这篇关于Visual Studio 2010 Ultimate中缺少测试模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆