Whenever I run a test, and then try to run a test again, I get the following error:
Failed to queue test run.
Unable to start program 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\QTAgent32.exe'.
If I run the test again after that, it proceeds as normal. In other words, I get this error every other time I try to run a test. It doesn't matter whether the previous test succeeded or failed, whether it ran to completion or was interrupted, or whether I run one test or all of them across the whole solution.
What could be causing this? What can I try to fix it?
Apparently this is a known issue at Microsoft, according this Page it happens on 64bit systems while testing with Visual Studio 2010. The page also describes a number of workarounds you can try.
We were able to solve this problem by turning off IntelliTrace. Tools->Options->IntelliTrace, uncheck "Enable IntelliTrace".