Installation and Setup for Ubuntu
This topic outlines how to configure Telerik JustMock to run already built tests on a Ubuntu machine.
Download JustMock tar.gz Archive
-
Download the JustMock tar.gz archive from www.telerik.com:
- 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.
Unzip the archive to local folder. Lets assume the forlder is named JM_FOLDER.
-
Open a terminal and execute following commands:
export JUSTMOCK_INSTANCE=1
export CORECLR_ENABLE_PROFILING=1
export CORECLR_PROFILER={B7ABE522-A68F-44F2-925B-81E7488E9EC0}
export CORECLR_PROFILER_PATH="JM_FOLDER/CodeWeaver/64/libTelerik.CodeWeaver.Profiler.so"
-
Execute dotnet test command against the dll that contains your tests. If we assume the dll is named Tests.dll and you want to export the results to .trx file, then the command should look like:
dotnet test Tests.dll --logger trx
Resources and Documentation
-
Offline Documentation
The documentation is also available in PDF format which you can download from your Telerik account.
-
Additional Assistance
If you need additional assistance, take a look at our online JustMock forums or contact support.
-
Suggestions and Reports
If you want to suggest a new feature or vote for a popular one, please visit JustMock Feedback Portal.