Tests Fail with QTAgent Stopped Working
Hi, I hope someone can help me.
We upgraded to Resharper 7.1.3 following the recent VS 2012 Update 2 breaking Unit Tests (they remained at Pending forever). That no longer happens, but all our units tests now fail (or are ignored) when run through Resharper (although they all run and pass when run through VS 2012 menus). We get the following dialog box message many times during an attempted test run with Resharper tooling:
QTAgent32.exe has stopped working.
Has anyone else come up against this or have any ideas on how to fix it?
Thanks,
Stu
Please sign in to leave a comment.
Hi Stuart,
Thanks for the report. Could you please create and attach here a small sample, which will demonstrate the issue?
I have VS2012 and upgraded to 7.1.3 because resharper C# was not able to run tests
When running it says in dialog which disapper QtAgent32.exe stopped working (but in finnish)
TestMethod1 says: "The agent process was stopped while the test was running."
-Eino
My test is very simple indeed no test yet
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProjectHarvestApi
{
[TestClass]
public class HarvestApiTest1
{
[TestMethod]
public void TestMethod1()
{
var ha = new HarvestApi();
ha.TestConnection();
}
}
}
Attachment(s):
error.jpg
Hi,
Thnaks for the follow up here: http://resharper-support.jetbrains.com/entries/23854211.
Great that everything is now working fine for you!
This hack from Microsoft solves this issue:
http://connect.microsoft.com/VisualStudio/feedback/details/783668/qtagent32-35-exe-qtagent32-exe-system-executionengineexception-running-unittest-in-vs2012-2
Cheers,
Stu