Why are ReSharper and the built-in MSTest runner ignoring my tests, which should not be ignored?

I am running Visual Studio 2013 (with the latest updates) using ReSharper 8.1 (latest stable version). I try to run my tests as usual, but they continue to act as if they are being ignored. The Run Unit (ReSharper) and Run Tests (built-in test runner) tests act as if the tests are ignored.

I tried: restarting Visual Studio, uninstalling and reinstalling ReSharper, clearing ReSharper caches, restarting my Windows 7 machine, deleting all the [Ignore] annotations in the whole project ... nothing works.

Even a very simple test, for example:

    [TestMethod]
    public void CrapTest()
    {
        Assert.IsFalse(false);
    }

Will immediately go into an ignored state.

I searched on the Internet but did not find any solutions. Help! It drives me crazy.

+4
2

:

/TestSettings.testsettings

TFS/CI, .

+1

, , . , Resharper . , .

<Test(), Explicit()>

.

-1

Source: https://habr.com/ru/post/1526263/


All Articles