Alex Rivera | Logout

TypeMock VS JustMock (VS RhinoMock,Moq...): current situation in 2011?

Asked 2011-04-22T12:32:04.743
10

I've started TDD some weeks ago. I have to do Unit Tests on a C# code full of non-virtual methods and there is no much interface either. Therefore, after I've been studying RhinoMock and Moq, a proxy solution wasn't enough: what I need is an isolation thanks to a profiler.

From what I read, I have 3 choices:

  1. TypeMock Isolator, very powerful but also very expensive
    http://www.typemock.com/
  2. JustMock of Telerik, the alternative to TypeMock which aims to be TypeMock, but the beta was full of bugs
    http://www.telerik.com/products/mocking.aspx
  3. Moles from Microsoft Pex, the only free solution for isolation but definitively not a mocking-framework, see here

I need mocks easy to configure. Moles don't provide advanced declarative verification feature and it is a pain to do it myself.

TypeMock is a good solution, but certainly a little to much for what I really need and I found the price too high.

JustMock should make some concurrence, but I don't found many references. It's a shame, its syntax is close to Moq and it should be a good transition (and I could switch to the free version with a cleaner code, thanks to dependency injection for example). But TypeMock was launched in 2006 while Justmock still was beta in 2010, there was a glaring gap (although Telerik has good marks). The Q2 fixing bugs was released in July 2010.

Question: Does the last version of JustMock is enough effective? Are they some satisfied users?

(good free references ONLY for interface/delegates/non-virtual methods:)
see mocking moq typemock justmock

Edit
Report

1 Answer

2

Just Mock comes in 2 favours, free and paid. They are the same product; the free version just has some limitations built in. Whilst it is true that Just Mock is a young product, it does have the full weight of Telerik behind it.

Both versions allow use of the fluent API. And because the products share their codebase moving from free to paid is painless. And, as you will know if you have used any of Telerik's products on the past, their support and community forums are 2nd to none. What's more, the community forums are fully available to you even is you are only using the free version.

-- Stuart

answered 2011-04-29T14:02:09.580

Your Answer