[英]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.