unit testing - Running a test using Shims on a Visual Studio 2013 Test Agent -




I have found various iterative questions in many websites, though by now I have nothing I did not get the full answer which worked, I have just installed a lot of Visual Studio Test agents which they all conduct and test the unit tests which we are initially planning to run on them. . However, when I am checking a unit tests, it is failing on the line:
using (ShimsContext.Create ()) ,

Stack With trace:
Result Message:
Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: COR_PROFILER_PATH and COR_PROFILER failed to resolve Profiler Path from environment variable.
After reading some other posts I installed Visual Studio 2013 on the testing agent and confirmed that it will run the test locally. I then used COR_PROFILER_PATH on my machine, which was installed on it: "C: \ Program Files \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ CommonExtensions \ Microsoft \ IntelliTrace \ 12.0.0 \ Microsoft.IntelliTrace. Profiler .12.0.0.dll ". After this, with the trace, one failed in the same place:
Test method left an exception:
Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationException: Failed to handle the profiler module 'C: \ Program Files \ Microsoft Visual Studio 12.0 \ Common7 \ IDE \ CommonExtensions \ Microsoft \ IntelliTrace \ 12.0.0 \ Microsoft.IntelliTrace.Profiler.12.0.0.dll 'Specified Module can not be found ---> System.ComponentModel.Win32Exception : The specified module is not found.

It is suggested that under a separate process the profiler has been loaded and Temal can not be close to what you have any success with this or a similar set-up? At the grassroots level, can visual studio test run with test agent Fox?
Thank you

I know this is a bit old, so OP could probably get the answer, But for anyone else, I opened a ticket with Microsoft on this issue, and seeing this about an hour and a half setup for the problem I answered:

Microsoft.QualityTools.Testing.Fakes .UnitTestIsolation.UnitTestIsolationException: COR_PROFILER_PATH and COR_PROFILER fail to resolve Profiler Path from environment variable.

, it was that I was using and I should have used in my case because that's because I have a Fox Test is

I'm using Visual Studio 2013 Update 4.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -