Telerik JustMock 관련 정보

유닛 테스트를 제작하기 위한 빠르고 유연하며 완벽한 모의 도구.

Telerik JustMock is an easy-to-use mocking tool that will help you compose unit tests faster than ever before, with higher quality. JustMock allows you to easily isolate your testing scenario from hard to configure dependencies like databases, requests to web services or third-party libraries. This results in higher productivity and better code. JustMock can mock everything from interfaces, virtual and abstract methods and properties, sealed classes, non-virtual methods and properties, static classes, methods, and properties, private, protected, or internal classes, methods and properties and even system API like DateTime, File, FileInfo, and so on.

What Is Mocking and Why Do I Need It?
Mocking is a concept in unit testing where real objects are substituted with fake objects that imitate the behavior of the real ones. Mocking is done so that a test can focus on the code being tested and not on the behavior or state of external dependencies.

For example, if you have a data repository class that runs business logic and then saves information to a database, you want your unit test to focus on the business logic and not on preparing, validating, and cleaning the data in the database. By mocking the dependency to the database, you will get rid of most of the maintenance of this unit test and speed it up tremendously.

Why Choose JustMock

Remove the Hassle of Writing Unit Tests.
JustMock makes it simple to isolate your testing environment and concentrate on the logic you wish to validate. It's easy to use and connects with your favorite unit testing framework, making unit testing, and mocking a breeze.

Mock Everything
Mock non-virtual or non-abstract methods, sealed classes, static methods and classes, non-public members, and types everywhere, including System API/MsCorLib members.

Easily Debug Mocked Objects
The JustMock Debug Window can help you uncover the answers you need while debugging your unit tests, from what arguments your mock object is called with to why it isn't called or why it is called again.

Increase Code Coverage
JustMock provides important feedback on the completeness and thoroughness of your unit tests, which is essential for any business aiming for high-quality code. It uses code coverage integrations for Visual Studio, dotCover, OpenCover, and others to correlate test and coverage results.

A Solution for Every Type of .NET Code
Whether you're dealing with complex and difficult-to-maintain legacy code or code developed with best practices in mind, this tool is ideal for unit testing your.NET code.

Comes with Award-Winning Support
Telerik's award-winning support team is committed to assisting you with any queries or issues you may encounter during the development of your application.

Mock Everything

  • Interfaces
  • Virtual and Abstract Methods and Properties
  • LINQ Queries
  • Sealed Classes
  • Static Classes, Methods and Properties
  • Non-Virtual Methods and Properties
  • Non-Public Members and Types
  • Generics
  • Delegates
  • Entity Framework
  • Extension Methods
  • System API/MsCorLib Members
  • Named Arguments
  • Local Functions
  • Ref Return Values and Ref Locals
  • DLL Imports
  • Threadpool
  • Microsoft SharePoint
  • Supported Languages C#, VB and F#

Mocking and Assert Functionality

  • Assert Call Order
  • Assert Occurrence
  • Future Mocking
  • Fluent Mocking
  • Partial Mocking
  • Sequential Mocking
  • Recursive Mocking
  • Automocking

Integrate with Testing Frameworks

  • MSTest 2
  • MSTest
  • NUnit
  • xUnit

Build System Integration

  • Azure DevOps
  • MSBuild
  • Command line execution
  • Installation Free Elevated Mocking

Integrate with Other Tools

  • Visual Studio Code Coverage
  • Visual Studio IntelliTrace
  • JetBrains dotCover
  • JetBrains dotTrace
  • OpenCover
  • NCover
  • PostSharp

Supported .NET Versions

  • Net Core 3.1, 5, 6+
  • Net Framework 4.5+

Supported OS

  • Windows
  • Linux