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
Hi,

I am using TypeMock Version 6.1.2 and Visual Studio 2010. I am getting below TypeMockException when I am trying to run my unit test project. My Tests were working fine till last week.

All my test which has Typemock references are failing. They are failing at the point where we are trying to create a fake object.

Can Any get any help regrading this exception.

Test method
Tests.ActionTest.Execute_resultHasError threw exception:
TypeMock.TypeMockException:
*** Typemock Isolator is not currently enabled.
To enable do one of the following:

* To run Typemock Isolator as part of an automated process you can:
- run tests via TMockRunner.exe command line tool
- use 'TypeMockStart' tasks for MSBuild or NAnt

* To work with Typemock Isolator inside Visual Studio.NET:
set Tools->Enable Typemock Isolator from within Visual Studio

For more information consult the documentation (see 'Running' topic)
asked by rkrish4u (600 points)

6 Answers

0 votes
Hi,
Are you running your tests from Visual Studio?
If it is the case please make sure that Isolator is enabled from Typemock menu -> "Enable Typemock Isolator"
answered by ohad (35.4k points)
0 votes
Hello,

I have the same problem as rkrish4u. My tests were fine until last week and they have been failing since then saying the same error - Typemock not enabled.

I tried to check the 'Typemock' menu but my menu is completely different. It just has three items - 'Show TeamMate view', 'Find Typemock Server' and 'Options'

Using Visual Studio 2010 Ultimate, typemock 6.1 with nunit

thanks !
G
answered by girlprogrammer (220 points)
0 votes
Hi,

Go to tools -> add in manager and enable Typemock.

After you do that you should be able to see the entire Typemock menu.

Let me know if it helps.
answered by alex (17k points)
0 votes
Alex - it's already enabled. I'm getting my helpdesk to re-install it but it may take some time. Just wanted to know if there's something i can try to fix it.
answered by girlprogrammer (220 points)
0 votes
Hi,

Are you running locally with one of the VS 2010 features like Coverage/Historical-Debugger/Test-Impact?
answered by Elisha (12k points)
0 votes
Never mind...

I got it reinstalled and it's all ok now..

Thanks anyways..
G
answered by girlprogrammer (220 points)
...