20110324

Problem ID: 2248365879291773349
Entered by: Ben Simo

One or more, directly or indirectly



Thank you, Visual Studio, for telling me that you can't run one or more tests. How about telling me which test, or tests, in the selected context could not be found? How about giving me an option to run the tests that can be found?

I must now, directly or indirectly, seek and find the unspecified that could not be found. ;)

Or, perhaps, and likely, this message means that there are no tests in the selected context. If so, one or more users (directly or indirectly) using Visual Studio are likely to be confused by this message.

  Edit

2 Comments:

March 19, 2013 at 3:32 AM  
Comment ID: 2465069478813768112
Written by: Unknown

I ran into the same error today and go0gling it lead me to your post!! :|

November 20, 2013 at 12:14 PM  
Comment ID: 485886407090784809
Written by: Anonymous

I came across this today. Here is what I did to cause the problem:

- Opened the solution. Added a new Coded UI Test item
- Added a test method.
- Re go the entire project from source control, thus making my project not recognize the test method. I observed that the [TestMethod] attribute was not colored the way it normally was.

Of course it cannot find a test method in context for a project that does not know about the class. Ooops on me. Hope this is helpful.

Post a Comment