Visual Studio Team System test is pending forever RRS feed

  • Question

  • I am using Visual Studio Team System 2008 and when I create a unit test, it remains pending forever. I tried walking through the code and the test seems to execute correctly, but the "Test Results" window doesn't seem to recognize that the test is finished and reports the test as still pending. I am running Visual Studio Team System 2008 on Windows 7 RC. Does anyone know how to fix this?

    Friday, May 29, 2009 5:36 PM


All replies

  • After the unit test is completed, the TestCleanup method is called. Is there anything that is during forever?
    Ewald - Please remember to mark the replies as answers if they help.
    Friday, May 29, 2009 7:38 PM
  • My TestCleanup method is empty. I am using the auto generated unit test for a class with a constructor, leaving everything as is. The test should reach Assert.Incomplete("...") and give an error message, but instead Test Results stays in pending. I have tried running the same code on a different machine and it worked perfectly. Do you have any ideas?

    Thanks for your help!
    Friday, May 29, 2009 7:49 PM
  • This must be a known issue "tests hang when computer name is in lower case", for which a hotfix is about to become available. Until we publish the hotfix, please follow workaround steps from this post: http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/fd6f2128-e248-4336-b8be-1eb5480e3de8.

    Michael Koltachev,
    Visual Studio Team Test
    Tuesday, June 2, 2009 3:56 PM