0

Unit tests fail using ReSharper 6.1

Using Visual Studio 2010 SP1 and ReSharper 6.1, we're having trouble with some of our unit tests.  If the test class has a [ClassInitialize] attribute on it, we get this error:

Method ClassInit has wrong signature.  Parameter 1 should be of type Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.

Secondly, if the test uses [ExpectedException], ReSharper fails the test.

Are there any solutions to these issues?  Any suggestions are appreciated.

Thanks,

Jason

8 comments

Please sign in to leave a comment.