11

Resharper 9.0 says 'No tests found in selected solution items.' Yet there are over 100 tests.

I right click my solution in Visual Studio 2013 and click the "Run Unit Tests" option near the bottom of the context menu. I get the error message: "No tests found in selected solution items.".

Every once in a while, they do show up and run, but most of the time, they don't show up and I get the error message.

I have NCover installed and it has a 'Bolt Tests' tab from which I can run all the tests. However, I would prefer to run the tests from the main menu using Resharper.

Does anybody know why these tests aren't showing up and how to get them to consistently be discovered?

Thanks, Curtis

Curtis
  • 5,794
  • 8
  • 50
  • 77
  • 1
    I'm having the same issue but since I'm running Visual Studio 2015 Preview, I thought that was the reason. But at least this rules out VS as the cause. It seems like Resharper is not able to figure out what tests are in the solution. And I also get intermittent runs where it doesn't find any tests. I am also having some other weird issues where the left bar in which the Run Unit Test icon exists keeps disappearing. – Anshul Dec 19 '14 at 18:04
  • 1
    I noticed this issue too. However, as soon as you open a file that contains unit tests, the "run unit tests" command will find the tests from this file, but still won't find the others... Definitely a bug in R# 9 – Thomas Levesque Dec 22 '14 at 15:43
  • 2
    I don't know if you've already applied Resharper 9 Update 1 (apparently dated December 19th, 2014), but I was getting that message before the update and I'm not getting it any more. – Richard J Foster Feb 12 '15 at 17:03
  • Yup. Got the update. problem solved... – Curtis Feb 12 '15 at 23:19

1 Answers1

0

Looks like the latest update of 9.1 solved the problem. Thanks everybody.

Curtis
  • 5,794
  • 8
  • 50
  • 77