Visual Studio 2010 Test – ‘The agent process was stopped while the test was running.’ wrecked my day!
Lots of software development time wasted yesterday due to a rubbish error and associated error message produced by the Visual Studio Unit test framework!
The agent process was stopped while the test was running.
No resolution as of yet – but I think it is due to a worker thread in a library that outlives the test’s existence… The problem doesn’t happen if I run the unit test as debug via the ‘Test / Debug / Run Tests in Current Context’ menu. Apparently, from my research it seems that this problem will also not happen in Visual Studio 2012, cold comfort indeed….
If I get it fixed Ill let you know…