如何开始特定的单元测试? [英] How to start specific unit test?

查看:138
本文介绍了如何开始特定的单元测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS 2010中,我可以在当前上下文中使用运行/调试测试在当前光标位置启动单元测试.我在VS11中找不到了.是将其删除还是我找不到了?

In VS 2010 I could start the unit test at current cursor position using run/debug test in current context. I can't find this anymore in VS11. Was it removed or I just can't find it anymore?

在VS11 Beta中,我必须运行所有测试以获取整个单元测试列表.然后停止运行.然后在长列表中找到我需要的测试(2606个测试).然后右键单击它,然后选择运行/调试选定的测试.

In VS11 Beta I have to run all tests to get the whole list of unit tests. Then stop the run. Then find the test I need in the long list (2606 tests). Then right click on it and select run/debug selected test.

我希望发行版将具有更多便捷的方式来启动单个测试.

I hope the release version will have more convenient way of starting single tests. 

推荐答案

您好,

感谢您试用VS 11并提供反馈.是的,我们正在上下文菜单中运行以从IDE运行/调试单个测试.它将是发行版本的一部分.

Thanks for trying out VS 11 and providing feedback. Yes, we are working on the context menu to run/debug test single test from IDE. It would be part of release version.


这篇关于如何开始特定的单元测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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