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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Hi


failed:
*** TypeMock.NET needs to be linked with Coverage Tool to run, to enable do one of the following:
1. link the Coverage tool through the TypeMock Configuration
2. run tests via TMockRunner.exe -link
3. use TypeMockStart tasks for MSBuild or NAnt with Link
For more information consult the documentation (see Code Coverage with TypeMock.NET topic)
TypeMock.TypeMockException
Message:
*** TypeMock.NET needs to be linked with Coverage Tool to run, to enable do one of the following:
1. link the Coverage tool through the TypeMock Configuration
2. run tests via TMockRunner.exe -link
3. use TypeMockStart tasks for MSBuild or NAnt with Link
For more information consult the documentation (see Code Coverage with TypeMock.NET topic)
Source: TypeMock
StackTrace:
at TypeMock.MockManager.Init(Boolean collectAllCalls)

that message is the same even if i use the testdrven menu test with typemock

thnks
asked by tolisss (28.8k points)

27 Answers

0 votes
Please tell me the version of TypeMock.
Also please check the GAC to see which versions of TypeMock are installed.
Please uninstall all versions except for last version.
answered by scott (32k points)
0 votes
i have installed 3.6.1 version not the 64bit
in the gac is only that version
im on 64bit AMD proccessor
answered by tolisss (28.8k points)
0 votes
Install the 64bit version too.
answered by scott (32k points)
0 votes
after 64bit installation along with the 32bit i m getting the message

Couldn't connect to test runner process
answered by tolisss (28.8k points)
0 votes
Hi
And now can you run your tests from the command line?
answered by ohad (35.4k points)
0 votes
what do u mean by command line?

i never used such a feature is it from testdriven?

ps:is it something wrong with the forum? its like i lost post subscription
i have check "Notify me when a reply is posted" but i receive no notifications?
answered by tolisss (28.8k points)
0 votes
Hi
Sorry that I wasn't clear in my question.
What I asked is:
Did you try to run the test using TMockRunner without TestDriven?
(e.g TMockRunner.exe nunit-console.exe test.dll)
This is in order to see if the problem is regarding TestDriven or in the test itself.

As for the problem with the forum please check if the notification mails does not end up the spam folder. :?
answered by ohad (35.4k points)
0 votes
i use mbunit framework is that supported?
answered by tolisss (28.8k points)
0 votes
Hi
Yes it is supported.
In that case your command line will be:
TMockRunner.exe MbUnit.Cons.exe test.dll.

(Please note that I removed the full path to TMockRunner.exe and MbUnit.Cons.exe just for clarity)
answered by ohad (35.4k points)
0 votes
One more thing
Can you please run the test with TypeMock log enabled and
than send the logs to me?
I will send you my address offline.
answered by ohad (35.4k points)
...