I got this odd behaviour I launch tests from MS Test List Editor.
And first time I launch I always get this error currently
Error 11/15/2011 4:28:32 PM Failed to queue test run ‘USER@MACHINE 2011-11-15
15:28:29’: Unable to start program ‘C:\Program Files (x86)\Microsoft
Visual Studio 10.0\Common7\IDE\QTAgent32.exe’.
Next launch is fine
I reproduced it 40 times already. Just as if first launch is clearing way for second one.
What could be the cause?
As Hans pointed out its a known issue.
http://connect.microsoft.com/VisualStudio/feedback/details/536475/launching-unit-tests-in-debugger-fails-every-other-time-cannot-start-qtagent32-exe
Its hard to reproduce and in my case I was able to fix it by reloading VS 2010.