Wednesday, 23 December 2009

Making Resharper 4.5 work with NUnit 2.5

Resharper’s inbuilt test runner doesn’t work with NUnit 2.5 – [SetUp]s in base classes won’t get called, and probably a whole load of other things wont work.

Thankfully the Gallio project provides the solution to this. Install the latest version, then, in VS, go to ReSharper menu –> Options –> Tools –> Unit Testing tab, and uncheck the NUnit box (leaving Gallio checked) a la

image

Hey presto! The ReSharper test runner will now run the tests properly.

Submit this story to DotNetKicks

0 comments:

Post a Comment