vstesthost

VSTestHost.exe has stopped working - can't run unit tests

The Microsoft unit testing framework has suddenly gone on strike. When I try to run tests in VS2008, I get a dialog with the message "VSTestHost.exe has stopped working". I have Visual Studio Team System 2008 (version 9.0.30729.1 SP) running on Vista with all updates applied. The "Problem reports and solutions" suggests that I "Upgra...

Threading issue with running WatiN tests under VSTestHost

I've gotten a simple WatiN web test running on my dev environment and am trying to get it working on the TFS build server. WatiN is firing an exception: System.Threading.ThreadStateException: The CurrentThread needs to have it's ApartmentState set to ApartmentState.STA to be able to automate Internet Explorer. The test runner, VSTe...

Why does VSTestHost.exe load assembly from c:\windows\assembly\temp directory?

I am developing an assembly which has to be installed in the GAC, and as part of a post-build step I ensure that the GAC gets updated after each build. If I create a (Visual Studio) unit test (in a seperate tests assembly) to call a new method on a class under test, then implement the method on the class under test (TDD style), then run ...

vsTestHost.exe uses only one processor

Hello, I have a simple load test that is using one TestMethod on a quad core 64 bit windows 2008 box. When i run the load test, i only see one processor being used to 100%, other processors are just idle, and i know that the server is not being hit to the max, so my test agent is not able to produce enough load for it. is there any w...