In Development
Last Updated: 14 Dec 2022 09:30 by ADMIN
Tomer
Created on: 11 Jan 2022 11:07
Type: Feature Request
2
Add support for Mac OS

We're developing .net 5/core services, using Rider IDE and MacOS.

Please:

1. Add support to run JustMock under MacOS (profiler need to be supported, enabled issue, etc.), or if already supported, please provide instructions of how to activate it per test, for example using NUnit.

2. Add integration with Rider so all the process will be much easier.

 

7 comments
ADMIN
Ivo
Posted on: 14 Dec 2022 09:30

Hello Nick,

I would like to let you know that we have already started our initial research for macOS support, there is no official statement for that since we have to make sure what we can achieve. I expect that we could target this feature for R2.2023 (usually available in mid-May), but I cannot commit to this for sure.

I hope the provided info answers your question and gives some confidence that this feature would be delivered.

Regards,
Ivo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Nick
Posted on: 13 Dec 2022 13:29

Hi Mihail,

You suggest using the free version until the full version is ported to Mac.

This may be possible for the short term, but is not a long term solution for us.

What is the timescale for this, as the roadmap for JustMock doesn't show Mac support in the pipeline.

It's a shame the free version is so limited.

Nick

 

ADMIN
Ivo
Posted on: 08 Nov 2022 16:47

Hello Jamie,

Strongly agreed, the full version has already supported Linux (see this article) and the Mac version is under the radar, so stay tuned. Regarding Rider, it is also considered and just needs to be prioritized. Many thanks for the feedback provided, your opinion is really valuable to us, so we can stay up to date with the customer's voice.

Regards,
Ivo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Jamie
Posted on: 05 Nov 2022 23:31

This really should be cross-platform and be capable of running in a Linux environment in a DevOps pipeline. I'm aware of the Windows version that runs in the pipeline.. but it's an extra step. I develop on Windows and Linux and this is a pain point for me.

 

Strongly support the integration with Rider as well.

ADMIN
Mihail
Posted on: 27 Sep 2022 07:25

Hello Nick,

I am happy to hear you have new hardware and at the same time sad about the news that you want to switch to Moq. Switching to Moq will require quite an effort. For that reason, I will recommend you to switch to JustMock Lite. It will require less effort on your part and when we implement support for Mac OS in the paid version you will be able to take advantage of it as well.


Mihail
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Nick
Posted on: 23 Sep 2022 20:50

Having made the swap to developing on Mac, now have to convert my tests to Moq instead, would much prefer to use JustMock.

 

ADMIN
Mihail
Posted on: 18 Jan 2022 09:40

Hello Tomer,

I am afraid that we still do not support Mac OS. Regarding Rider, JustMock does not have an extension for it but you can still use it through environment variables. It is a good idea that we add a documentation article about it. I will leave this item for Mac OS support and log another for documentation article on Rider integration.

Here is information on how you can JustMock in Rider:

To run JustMock in Rider you should specify a handful of environment variables for the Test Runner. Here are the variables and their values:

  • name: JUSTMOCK_INSTANCE, value: 1
  • name: COR_ENABLE_PROFILING, value: 1
  • name: COR_PROFILER, value: {B7ABE522-A68F-44F2-925B-81E7488E9EC0}
  • name: COR_PROFILER_PATH_32, value: <JustMock Install Root>\Progress\Telerik JustMock\Libraries\CodeWeaver\32\Telerik.CodeWeaver.Profiler.dll
  • name: COR_PROFILER_PATH_64, value: <JustMock Install Root>\Progress\Telerik JustMock\Libraries\CodeWeaver\64\Telerik.CodeWeaver.Profiler.dll

Here is a screenshot of how this should look like:

Please have in mind that JetBrains have logged an issue related to environment variables, link. If that bug is not fixed please use runsettings to set the variables. Here are how those runsettings should look like:

 

 

<RunSettings>
    <RunConfiguration>
      <EnvironmentVariables>

        <JUSTMOCK_INSTANCE>1</JUSTMOCK_INSTANCE>

		<!-- .NET Framework -->
        <COR_ENABLE_PROFILING>1</COR_ENABLE_PROFILING>
        <COR_PROFILER>{B7ABE522-A68F-44F2-925B-81E7488E9EC0}</COR_PROFILER>
        <COR_PROFILER_PATH_32>C:\Program Files (x86)\Progress\Telerik JustMock\Libraries\CodeWeaver\32\Telerik.CodeWeaver.Profiler.dll</COR_PROFILER_PATH_32>
        <COR_PROFILER_PATH_64>C:\Program Files (x86)\Progress\Telerik JustMock\Libraries\CodeWeaver\64\Telerik.CodeWeaver.Profiler.dll</COR_PROFILER_PATH_64>

		<!-- .NET Framework -->
        <CORECLR_ENABLE_PROFILING>1</CORECLR_ENABLE_PROFILING>
        <CORECLR_PROFILER>{B7ABE522-A68F-44F2-925B-81E7488E9EC0}</CORECLR_PROFILER>
        <CORECLR_PROFILER_PATH_32>C:\Program Files (x86)\Progress\Telerik JustMock\Libraries\CodeWeaver\32\Telerik.CodeWeaver.Profiler.dll</CORECLR_PROFILER_PATH_32>
        <CORECLR_PROFILER_PATH_64>C:\Program Files (x86)\Progress\Telerik JustMock\Libraries\CodeWeaver\64\Telerik.CodeWeaver.Profiler.dll</CORECLR_PROFILER_PATH_64>

      </EnvironmentVariables>
    </RunConfiguration>
</RunSettings>

I hope this information is helpful.

Regards,
Mihail
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.