[英]Visual Studio 2013, run one test separated via shortcut
我希望有人知道为什么Ctrl + R,T不再在VS2013中工作了。 以前(VS2012)当我点击快捷方式时,我将光标放在测试中,它只运行测试。 在微软的网站上,它确切地说明了我应该期待它应该如何工作。 它说:
Ctrl + R, then press T
This runs the tests in the current scope. That is, it runs the
current test method, all the tests in the current test class, or
all the tests in the namespace, respectively.
来源: http : //msdn.microsoft.com/en-us/library/vstudio/ms182470.aspx#RunTestsFromTestProject
但是在VS2013中,它运行当前文件中的所有测试。 当我使用测试资源管理器时,它正确运行唯一选定的测试...
我安装了以下扩展程序:
好吧,它是xUnit testrunner中的一个错误。 我用NUnit进行了测试,它按预期工作。
在xUnit.net上是一个bug报告。 链接: http : //xunit.codeplex.com/workitem/9901
编辑:问题在0.99.2版中解决
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.