Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NUnit Addins with Resharper 5

The latest Resharper (v5) version is based on native NUnit code and allows NUnit addins.

I have a NUnit addin that works fine in NUnit GUI but I can not make it work with Resharper. Based on R# indication I have put my addins library in %ResharperPath%\Bin\addins but I doesn't work, my tests are marked as Ignored.

Question: How to use NUnit addins with ReSharper?

like image 244
Julien Hoarau Avatar asked Jun 14 '10 11:06

Julien Hoarau


1 Answers

Unfortunately, ReSharper's test runner doesn't support NUnit add-ins. It's been requested, but hasn't been added, not even to the forthcoming ReSharper 6. (Feel free to vote for the feature request to let them know there's interest -- I just did.)

We use an NUnit add-in for some of our tests, and those tests don't show up in ReSharper at all -- no gutter icons, nothing in the Unit Tests window, nothing. Our only option is, when we want to run those tests, to fire up the NUnit GUI. It's a pain.

like image 167
Joe White Avatar answered Oct 14 '22 23:10

Joe White