chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
running with code cov tool of vs 2017 enterprise or with build tools of 2017.

with the following script

\\\"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\TestAgent\\\\Team Tools\\\\Dynamic Code Coverage Tools\\\\CodeCoverage.exe\\\" collect /output:\\\"%CD%\\\\VisualStudio.coverage\\\" \\\"C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2017\\\\TestAgent\\\\Common7\\\\IDE\\\\CommonExtensions\\\\Microsoft\\\\TestWindow\\\\vstest.console.exe\\\" \\\"???.UnitTests\\\\bin\\\\Debug\\\\???.UnitTests.dll\\\" \\\"???.UnitTests\\\\bin\\\\Debug\\\\??.UnitTests.dll\\\"

error:

Integration with Third-Party Coverage and Profiling Tools seems not to work with vs2017 !

Error Message:

 Initialization method ???.UnitTests.???Tests.Init threw exception. TypeMock.TypeMockException: TypeMock.TypeMockException:

*** Unknown profiler is enabled please contanct typemock@support.com with the flowing data: unknown profiler clsid = {E5F256DC-7959-4DD6-8E4F-C11150AB28E0}.

Stack Trace:

    at TypeMock.InterceptorsWrapper.VerifyInterceptorsIsLoaded()

   at _GIWne1ss1z0FlRzCQB0TbUwWGge_._NxMktFDfBM7CnPKIhYH9mfaT8xG_._9cmcfnWhR2hLOSgZy0GIBCWRLrs_()

   at TypeMock.MockManager.Init(Boolean collectAllCalls)

   at TypeMock.MockManager.Init()

   at _s1Bciqumwl8aAUhvSEIwEG2IjbH_._dhP6wBMR4aiaSQizIjI1WyXR46E_.CreateFakeInstance[T](Members behavior, Constructor constructorFlag, Constructor baseConstructorFlag, Type baseType, Object[] ctorArgs)

   at _s1Bciqumwl8aAUhvSEIwEG2IjbH_._dhP6wBMR4aiaSQizIjI1WyXR46E_.Instance[T](Members behavior, ConstructorWillBe constructorBehavior)

   at _s1Bciqumwl8aAUhvSEIwEG2IjbH_._dhP6wBMR4aiaSQizIjI1WyXR46E_.AllInstances[T](Members behavior, ConstructorWillBe constructorBehavior)

   at _s1Bciqumwl8aAUhvSEIwEG2IjbH_._dhP6wBMR4aiaSQizIjI1WyXR46E_.AllInstances[T](Members behavior)

   at _s1Bciqumwl8aAUhvSEIwEG2IjbH_._dhP6wBMR4aiaSQizIjI1WyXR46E_.AllInstances[T]()

   at ???.UnitTests
asked by EelFigure (600 points)

1 Answer

0 votes

Hi EelFigure,

First of all, we would recommend you to open a ticket here.

Secondly, we would like you to check the following:

1. Is "Integrate with other runners" box checked? (in the Typemock tab)

2. Are "Enable Auto Linking" and "Enable Mocking Integration" boxes checked? (Typemock extension->Options->Mocking integration)

Additionally, what Coverage tool are you using?

Cheers

answered by CoralTypemock (940 points)
...