Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T.

Had a strange occurance today...

In between writing unit tests in VSTS (Visual Studio Team System 2008 Developer Edition), for some reason VSTS stopped recognising the test classes as tests - so all context sensitive test actions, buttons, context menu etc for unit tests were disabled.

Still have no idea why - but I have a sneaking suspicion that some solution files may have been delete.

To get this working again I simply added another Test project:

  1. Right click on the solution and select Add - New Project...
  2. Select the 'Test Project' template then click OK.
    This sorts out visual studio - by adding in the solution items:
      - LocalTestRun.testrunconfig
      - <projectname>.vsmdi
  3. Remove the newly added project.

This fixed it for me.

 

 

Posted on Wednesday, April 2, 2008 2:30 PM C# .NET | Back to top


Comments on this post: VSTS not recognising unit tests - Run Tests not enabled

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net