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

I'm wondering what are the pros and cons of Typemock's injection\instrumentation mechanism using CLR profiling API vs that of libraries such as that modifies JIT'ed machine code on the fly. To me, Harmony seems more lightweight, flexible and well, it's free :)

asked by stevenz (600 points)

1 Answer

0 votes
I am not familiar with Harmony, but Harmony is a library whereas Typemock is a mocking tool; Harmony requires to \"patch\" manually in order to get things to work (modify methods behavior) and from a quick review of the documentation it has some other restrictions (i.e adding fields to classes or correct me if I\'m wrong).

It looks like a great project to me, but it pretty different than what Isolator for .NET offers (SmartRunner, mocking friendly API, Suggest, Coverage... and well, the price ).
answered by Sonya_g (640 points)