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,
We have been seeing many uses of TypeMock integrations.
We want to help make the integration easier by supplying a dll/code that can be distributed to help with TypeMock Integrations.

Here are the API's that we propose.
Feel free to comment about these API's

1. TypeMock.IsInstalled();
2. TypeMock.GetInstallationDirectory();
3. TypeMock.LinkCoverage("YourFavoriteCoverage_Profiler");
4. ProcessInfo = TypeMock.EnableTypeMock(ProcessInfo)
or
using (TypeMock.EnabledForNewProcess())
{
}
asked by scott (32k points)

1 Answer

0 votes
Being able to determine if TypeMock is enabled (not just installed, but running) from within a process/thread might be helpful, too:

TypeMock.IsEnabled
TypeMock.IsEnabledOn(Process)
TypeMock.IsEnabledOn(Thread)
answered by tillig (6.7k points)
...