Mock anything with ease.
Simplify unit testing.

Fast, flexible, fully featured mocking framework.
New! Automocking manages your mock dependencies.

Learn more about JustMock

Skip Navigation LinksProducts > JustMock

A little information

JustMock

JustMock is an easy, fast, feature rich mocking framework for isolating dependencies in unit tests. This complete mocking framework allows for mocking of non-virtual methods, non-public members, sealed classes and static methods and classes - all within one simple API.

JustMock makes testing your code easy and fast– anyone can mock with JustMock!

JUST A LITTLE MORE

Unit testing simplified

JustMock integrates seamlessly with your favorite unit testing framework and makes unit testing and mocking easy and fun. With JustMock you’ll have fewer bugs, higher productivity, better code. Try it and see for yourself how easy mocking can be.

The superior mocking framework

JustMock makes testing complex scenarios easier than ever. The complete mocking framework allows for mocking of a variety of methods, members and classes. JustMock is simple to use since it follows the AAA pattern. A variety of features are available in one simple API.

Why JustMock

Fluent API with better discoverability

Even beginners will be mocking in no time with the intuitive API which allows for natural expression of mocking concepts

As simple as AAA

This simple pattern, Arrange, Act, Assert makes it easy to quickly and intuitively mock objects in unit tests.

Mock Everything

Unrestricted mocking of dependent objects, including non-virtual methods, sealed classes, static methods and classes, as well as non-public members and types. JustMock also supports mocking of all classes and methods included in the msCorlib assembly.

Which edition of JustMock is for me?

JustMock comes in two editions. JustMock Lite (the free edition) mocks interfaces, events, exceptions, properties and behaviors but cannot perform elevated mocking. JustMock (the full edition) performs elevated mocking, enabling you to mock framework classes (such as msCorlib), LINQ queries, static methods and classes, private members as well as sealed classes. Upgrading from JustMock Lite to JustMock the full edition is easy as you continue to work with the same JustMock codebase. JustMock will only enable the profiler when necessary, so your tests run as fast as possible.

We make it easy

A Wealth of Resources

We offer JustMock videos, feature spotlight, FAQs and documentation to guide you every step of the way.

Explore Resources

Join the community

Whether you are a mocking pro or just getting started, in the JustMock blogs and forums you’ll find answers to all your questions, useful tips and cool features.

Join the Community

Industry leading support

With the best 24-hour turn-around support, we are there when you need us most. Your project will always run on-time and under budget as we're with you every step of the way.

Go to Telerik Support Center

WHAT PEOPLE SAY ABOUT JUSTMOCK

I've used a series of mocking tools and I believe that the API for JustMock is the most mature that I've encountered so far. The highest praise that I can give a framework tool is to say that its semantics are readable enough that you don't think about them at all as you're reading the code, and this is true with JustMock.
Erik Dietrich Daedtech.com
When isolating methods for testing gets difficult when trying to test against legacy code or databases, JustMock really starts to set itself apart. Its features such as MsCorlib, Sealed, Static, Private method and Entity Framework mocking make the seemingly untestable, testable.
Bradley Braithwaite Developer, Contentedcoder.com
I recently dropped another leading mocking tool in favor of JustMock. I was never happy with the other tool’s syntax but I couldn’t find anything else on the market. I’ve found JustMock is a much more pleasant experience.
Brad Irby .NET Architect & author of Reengineering .NET

The Just Suite

Be sure to try the other tools by Just

Learn More about the Just Suite
Build better code with JustCode. Isolate dependencies with JustMock. Resolve memory and performance issues with JustTrace. Recover lost source code with JustDecompile.

Compare prices

Starting at just $399, JustMock offers great value. All purchases come with the legendary Telerik support.

Volume Discounts

Earn discounts for any purchase of 2 or more of the same license.