Visual Studio 2013 中的测试列表在哪里? [英] Where did Test List go in Visual Studio 2013?

查看:23
本文介绍了Visual Studio 2013 中的测试列表在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了 Visual Studio 2013 Premium,并且玩得很开心并编写单元测试(使用 MS 单元测试).但是,测试列表"窗口和其他一些与测试相关的窗口突然消失了,并且它们从菜单项中消失了测试-> Windows.事实上,我记得 Test->Windows 下有 4 个项目,现在我只看到两个:测试资源管理器、代码覆盖率结果.我强调它们存在于 Visual Studio 2013 中.显然,我击中了一些使它们消失的组合键,或者发生了一些使它们消失的事情.我如何取回测试列表?请不要看到它们在测试->Windows 下,因为对我来说,它们不是(至少现在是!)

I just installed Visual Studio 2013 Premium and was having a good time playing with it and writing unit tests (using MS unit tests). However, the "Test Lists" window and some other Test related windows suddenly disappeared AND they have disappeared from the menu item Test->Windows. In fact I remember Test->Windows having 4 items under it and now I only see two: Test Explorer, Code Coverage Results. i stress they WERE present in Visual Studio 2013. Clearly, I hit some key combination that made them disappear or something happened to make them disappear. How do I get Test List back? Please don't see they are under Tests->Windows, because for me, they are not (at least now. they were!)

还有人看到这个吗?任何解决方案?我尝试重新启动 Visual Studio,重新启动.

Anyone else seen this? Any solutions? I tried restarting Visual Studio, rebooting.

另外,以前,在测试"菜单下,有一个调试->上下文中的测试"和一个运行->上下文中的测试",或类似的东西.这非常方便.如果你的光标在某个测试中,你可以只运行那个.我猜这是相关的.

Also, previously, under the "Test" menu, there was a Debug->"Test in Context" and a Run->"Test in Context", or something like this. It was very handy. If your cursor was with in some test, you could run just that one. I'm guessing this is related.

推荐答案

据我所知,这些功能已经优化"到新的测试窗口中......也就是它们已被删除.其他一些与单元测试相关的功能也消失了(例如创建单元测试"的上下文菜单项消失了,但仍然可以通过命令窗口调用)

For all I know, these features have been "optimized" into the new test-window... a.k.a. they have been removed. Some other unit test related features are also gone (the context menu item for "create unit tests" is gone for example, yet can still be called via the command window)

我个人认为这是微软推动所有人使用 Team Foundation Server 的方式,但这只是我的两分钱.

Personally I think this is Microsoft's way of pushing everybody towards the Team Foundation Server but that's just my two cents.

这篇关于Visual Studio 2013 中的测试列表在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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