Running unit tests from ccnet
I faced with a problem that VSTest.Console can not work from ccnet service. CCnet service is running from System account. If I sets log on as Administrator account for this service the VSTest.Console worked, but another programs like git - doesn't.
Is it possible to use the VSTest.Console from System account? Or maybe reconfig ccnet service?
I got following errors:
Warning: Diagnostic data adapter ('UnitTestIsolation') message: No Microsoft .NET applications were launched during the test run. Launch applications from Explorer or a new command prompt after a test case has started. If no .NET application is being tested, disable the Test Impact and IntelliTrace diagnostic data adapters..
at ServiceTest.MyTestInitialize() in d:\SourceCode\ServiceTest.cs:line 38
2013-03-25 16:02:08 Error Message:
2013-03-25 16:02:08 Initialization method ServiceTest.MyTestInitialize threw exception. Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: UnitTestIsolation instrumentation failed to initialize. Please restart Visual Studio and rerun this test.