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

I am trying to run type mock  getting this error using VS 2019

TypeMock.TypeMockException

  HResult=0x80131500

  Message=

*** Typemock Isolator is currently disabled. Enable using the following:

 * Within Visual Studio:

   - Use Typemock Smart Runner

   - For other runners, Choose Typemock Menu and click "Integrate with Other Runners"

 * To run Typemock Isolator as part of an automated process you can:

    - run tests via TMockRunner.exe command line tool

    - use Typemock interations

For more information consult the documentation (see 'Running Unit Tests in an Automated Build')

 * Test Runner is not recognized please consult the documentation 'Extending Isolator Configuration' and report to Typemock support

  Source=Typemock.ArrangeActAssert

  StackTrace:

   at _BKjczLvozy6B5vaP8ZJGqOC6Ioq._9q2gMbL84pPX5EOxxG4l7eITcmj._vSYo4SXuViQE0DBLdeidpBPcwvg(Boolean , String )

   at _BKjczLvozy6B5vaP8ZJGqOC6Ioq._9q2gMbL84pPX5EOxxG4l7eITcmj._HSaXpAvK8MRqeZGT91qaH5YSW3h()

   at _BKjczLvozy6B5vaP8ZJGqOC6Ioq._9q2gMbL84pPX5EOxxG4l7eITcmj._UY389PAEGGcUDwfMga2bACoCNfe()

   at TypeMock.MockManager.Init(Boolean collectAllCalls)

   at TypeMock.MockManager.Init()

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

   at _424roPpdMPuxkLeBFNsMTA9pCvZ._iowrZbV7f52p8H4Tlbalt62DzrG.Instance[T](Members behavior, ConstructorWillBe constructorBehavior)

   at _424roPpdMPuxkLeBFNsMTA9pCvZ._iowrZbV7f52p8H4Tlbalt62DzrG.AllInstances[T](Members behavior, ConstructorWillBe constructorBehavior)

   at _424roPpdMPuxkLeBFNsMTA9pCvZ._iowrZbV7f52p8H4Tlbalt62DzrG.AllInstances[T](Members behavior)

   at _424roPpdMPuxkLeBFNsMTA9pCvZ._iowrZbV7f52p8H4Tlbalt62DzrG.AllInstances[T]()

   at NUnitTestProject1.Tests.MyTest() in C:UsersUsersource eposNUnitTestProject1NUnitTestProject1UnitTest1.cs:line 25

PLease let me know what should i do to resolve this issue

asked by taran (600 points)

1 Answer

0 votes

Hi Taran,

Which version of Isolator are you using?
Which Runner are you using? our SmartRunner or VS Test Explorer?
Did you enter your license correctly in the Configuration Tool?

Please keep me posted.

Cheers,
Alon Sapozhnikov.
Support Specialist.

answered by Alon_TypeMock (8.4k points)
...