Geeks With Blogs
Joe Mayo

I’m using xUnit and the Resharper test runner.  Today, I ran into a situation where I couldn’t run tests.  The runner icons weren’t showing in the gutter.  Then I pressed Ctrl+U+R and received the following message:










Well, there were several tests in the file, decorated with FactAttribute.  Considering that I the code was written via TDD and the test were definitely working, I was curious why I suddenly couldn’t run them.

It turns out that I removed the public modifier from the class in the not-so-distant past.  I don’t remember doing it, but it sure was missing.

The fix was to add the public modifier back to the test class.  The Resharper test runner started working immediately.


Posted on Monday, March 12, 2012 10:22 PM | Back to top

Copyright © Joe Mayo | Powered by: | Join free