VS 2010 Test Runner error "The agent process was stopped while the test was running."

Posted by driis on Stack Overflow See other posts from Stack Overflow or by driis
Published on 2010-05-11T10:53:11Z Indexed on 2010/05/11 16:34 UTC
Read the original article Hit count: 477

In Visual Studio 2010, I have a number of unit tests. When I run multiple tests at one time using test lists, I sometimes reveive the following error for one or more of the tests:

The agent process was stopped while the test was running.

It is never the same test failing, and if I try to run the test again, it succeeds.

I found this bug report on Connect, which seems to be the same problem, but it does not offer a solution.

Has anyone else seen this behaviour ? How I can avoid it ?

© Stack Overflow or respective owner

Related posts about mstest

Related posts about unit-test