This topic outlines the steps required to install Telerik® JustMock.
JustMock supports the following operating systems:
- Windows 10
- Windows 8.1
- Windows 8
- Windows 7
- Windows Vista
- Windows Server 2008
- Windows Server 2003
- Windows XP
In order to use JustMock the following additional development tools must be installed beforehand:
- .NET Framework .NET 4.5+, .NET 4.6+, .NET 4.7+
- Microsoft Visual Studio 2010/2012/2013/2015/2017/2019 - download from here.
Since R1 2019, .NET Core 2 and later versions are also supported.
Download the JustMock installer from www.telerik.com:
Run the installer and follow the steps. Configure the default installation folder.
- You are all set.
If you encounter issues during the installation process, submit a support ticket in our support ticketing system with as much details as possible and we will assist you.
To start using JustMock in your test projects, add a reference to the Telerik.JustMock.dll (or Telerik.JustMock.Silverlight.dll if you use it in a Silverlight project). The assembly is located in the installation directory under the Libraries folder (by default C:\Program Files (x86)\Progress\Telerik JustMock\Libraries). Alternatively, use the Visual Studio Extension.
In case your test runner is being executed under one of these accounts:
- NT AUTHORITY\SYSTEM
- NT AUTHORITY\LOCAL SERVICE
- NT AUTHORITY\NETWORK SERVICE
To mock non-virtual/static methods on TFS you might have to perform manual configuration by setting up the following system environment variables:
This will enable JustMock profiler for all managed processes on your build/test server.
Enabling JustMock profiler on global scale could slow down the execution of all managed processes.
We strongly recommend configuring your test runner to execute under a dedicated account and setup the environment variables for that account only. With such configuration other managed applications won’t be affected by JustMock profiler.
After installing JustMock, you can find a Getting Started Guide and example projects in the installation directory (by default C:\Program Files (x86)\Progress\Telerik JustMock).
The example projects provide a hands-on approach, unit testing JustMock itself. The documentation is also available in Help3 format shipped separately in a ZIP file which you can download from your Telerik account.