Resharper 6: Test runner runs ignored mstest tests classes

Hi

After upgrading to resharper 6, we have started seeing tests in ignored test classes being run and failing the complete test run.

An example:

    [TestClass, Ignore]
    public class IgnoreTests
    {
        [TestMethod]
        public void FailingTestInIgnoredClass()
        {
            Assert.Fail();
        }

        [TestMethod, Ignore]
        public void FailingAndIgnoredTest()
        {
            Assert.Fail();
        }
    }


If you try to run all the tests in the class above, the FailingAndIgnoredTest is ignored and therefor not run, but FailingTestInIgnoredClass returns test failed and fails the complete test session.
I have attached a solution containing the class above.

I wonder if this is a known issue, and if so are there also a known solution?

Regards
Ask



Attachment(s):
ResharperTest.zip

Please sign in to leave a comment.