New to Telerik JustMock? Download free 30-day trial

Installation and Setup for Mac

This topic outlines how to install Telerik JustMock and configure Visual Studio on a Mac machine.

Installing JustMock from Pkg File

  1. Download the JustMock installer from

    • If this is your first time here and you want to try JustMock, download the trial installer file from here: Download JustMock. Keep in mind that this will require you to either log in or create a new Telerik account.
    • Note that there are separate installers for x64 and arm64 platforms. Choose the one corresponding to your device system architecture.
  2. Run the installer and follow the steps.


  3. The installer deploys JustMocks binaries to '/Library/JustMock/' folder.

  4. Next steps are to configure your IDE.

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.

Configure Visual Studio for Mac

To use the full spectrum of features you will need to set up Visual Studio for Mac to reference Telerik.JustMock.dll assembly and to load JustMock profiler when tests are executed.

  1. Open Visual Studio for Mac and create a unit test project.
  2. Right-click on project dependencies and select 'Add Project Reference'


  3. Select '.NET Assembly' tab, go to /Library/JustMock/JM_VERSION/Libraries/netcoreapp2.0 and select Telerik.JustMock.dll.

    NOTE: Replace JM_VERSION with JustMock version you have downloaded.


  4. Open Tests tab. Usually it is located in the right-side panel bar.

  5. Right-click the root node and open Run Test With > Edit Custom Modes... menu.


  6. Click Add to create new mode.

    Configure Execution Mode to be .Net Core Debugger

    Add following Environment Variables:

    CORECLR_PROFILER {B7ABE522-A68F-44F2-925B-81E7488E9EC0}
    CORECLR_PROFILER_PATH /Library/JustMock/JM_VERSION/Libraries/CodeWeaver/arm64/libTelerik.CodeWeaver.Profiler.dylib

    NOTE: Replace JM_VERSION with JustMock version you have downloaded.

    Configure Available for to be All solutions.


  7. Now you can debug your test by running them with the newly created mode. EditCustomMode

NOTE: If you want to run tests without debugger you can create similar mode as described above but set Execution Mode to Default.

Resources and Documentation

Next Steps

In this article