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

前端 未结 19 1525
醉话见心
醉话见心 2020-12-22 21:13

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

19条回答
  •  自闭症患者
    2020-12-22 21:32

    I encountered the same Problem and solved it while Removing

    Environment.Exit(0);
    

    So i am pretty sure, that this error occurs while your test or method under test, is causing the executing process to terminate.

提交回复
热议问题