Introducing JustMock Free Edition

.NET Musings

Wandering thoughts of a developer, architect, speaker, and trainer

NAVIGATION - SEARCH

Introducing JustMock Free Edition

Today Telerik launched a free edition of it’s commercial mocking tool, JustMock Free Edition.  The commercial version of JustMock has been out now for a while, and brings incredible power to the table, such as mocking sealed and static classes, non-public members and types, as well as many more features.  For more information on the commercial version of JustMock, see  http://www.telerik.com/products/mocking.aspx.

I do a lot of testing.  I am addicted to TDD/BDD, and can’t live without a mocking tool. The new (or “greenfield”) code that I develop is based on interfaces, SOLID, etc., and I don’t always need all of that extra power. For straight up mocking with no frills, any of the free open source frameworks do pretty much what I need.

But then there’s that pesky legacy code that everyone is afraid to touch.  Lots of stuff that just can’t be handled by the free mocking frameworks.  Either you white knuckle the keyboard and dive in without tests (ick), or purchase a commercial mocking framework.  If you do purchase one of the commercial tools, you will have two different mocking frameworks to support.  (Unless you want to refactor all of your other code to use the commercial product as well – and we all have lots of free time to do that, right?).

Releasing a free version of JustMock is an awesome step by a company (note they are also my employer) that flat out “gets it”.  It’s one of the main reasons that I wanted to work for Telerik.  There was a need in the development community for a clear path between free and commercial mocking frameworks, and it just makes sense to use one tool, one syntax, to do both jobs.  Start with JustMock Free Edition, and then upgrade to the Commercial version when you need to, and all of your existing code still works - you don’t have to refactor a thing.  Still the same tool, just now with added awesome sauce.

Another added benefit of using JustMock Free Edition over the open source frameworks is that there are many features in JustMock that Telerik included in the Free Edition that are not necessarily supported by its OSS counterparts.  (This is not a knock in any way on the OSS tools – it’s just that you can get a lot more features into a product when the developers are working on it full time.)

The code that comprises the Free Edition is the foundation for the full version, so it will be included as well in the three major releases Telerik is committed to every year, in addition to service packs and hotfixes where necessary.  It really is an awesome move.

And by the way, if you have a license to the Telerik Ultimate Collection, you already have the commercial version!

Over the next few posts I will be diving into how and why you would use a mocking tool like JustMock, so stay tuned!

Happy Coding!

Comments (3) -

Can you do a post outlining what the "extra" features are the JustMocks has that the other free mocking frameworks do not have?

There are a lot of questions regarding what's in the free edition as it compares to other frameworks.  I'm not big into creating comparison matrices, since they are usually out of date before you can even post them, and there are a lot of different frameworks out there.  If you go to the JustMock Free Edition web page (http://www.telerik.com/products/mocking/free.aspx), you can see what is in the free version, and then compare that list to your framework of choice. You will find (as with any software comparison) that there are features in some products that aren't in others, some features that are consistent through all of them, and some features that you would like to have that are missing from all.

As with any software tooling decision, I recommend that you download the software you are considering (whether it's commercial or open source), see if it matches your needs, and if it does, great. If it doesn't, be kind enough to the developers to let them know what you need that their product doesn't support, and move on to something else.

Canada Samuel Tremblay

It's been several months since I follow the evolution of the product JustMock.

Unfortunately, there were several bugs that were I could not use it.

For this reason, I could not buy a license with the risk that the product does not meet my expectations.

However, since the arrival of the free version, I'm having the leisure to evaluate the product and thus become addicted and eventually buy a license for all my projects Legacy where I will not allow me to transform the code with Principles of SOLID a single time.

I understand that the free version had everything to do unit tests except tests of Legacy code where no interface is present and where the use of static classes is pervasive. Is that correct?

In all cases, very good articles and others that follow are even better. I know very well how to make good unit tests, but it's always nice to read new articles in a manner different explanations miles and some facets of this wonderful technique. It's even better now when it is explained in conjunction with a product such as JustMock which I think could easily dethrone Moq RhinoMock and for many developers in the coming months.

Pingbacks and trackbacks (4)+

Comments are closed
Managed Windows Shared Hosting by OrcsWeb