How can I get Resharper to run tests in debug, when I get debug is “Inconclusive: Test not run”

与世无争的帅哥 提交于 2019-12-10 12:28:14

问题


How can I get Resharper to run tests in debug, when I get debug is "Inconclusive: Test not run"

Running any MsTest test in Resharper test runner is Ok, but if I try to debug, the R# test runner just displays Inconclusive: Test not run

This happens even with a simple test, e.g.

[TestClass]
public class BasicTests
{
    [TestMethod]
    public void Placeholder()
    {
        Assert.AreEqual(1, 1);
    }
}

But the build-in test runner in Visual Studio works for both just running and for debug

Additional info: It appears to be only happening in my VS 2017 preview instance !

Additional info: It also appears to be happening in my VS 2017 with the recent Update 3 !


回答1:


As of R# 2017.2 official build (Aug 24,2017), this should work again.




回答2:


The answer, at least so far, is to install the R# 2017.2 EAP 13 ...

Yes, the 13, not the 12



来源:https://stackoverflow.com/questions/45221086/how-can-i-get-resharper-to-run-tests-in-debug-when-i-get-debug-is-inconclusive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!