JustMockLite not working

Hi,

Is there a way to get Telerik JustMockLite working in Rider for Mac.

Issue:

Create a new Test Project

Add Nuget package JustMock

Create a test with a mock - var customer = Mock.Create<Customer>();
Run Test
Error: Last runner error: The type initializer for 'Microsoft.Win32.Registry' threw an exception. Registry is not supported on this platform.
 
The exact same project works fine in VS for Mac.
I've tried with the 2022.3 release and the EAP release.
 
Thanks
 
Nick
1
1 comment

Hello, Nick,

thank you for your request and apologies for the late reply.

I have reviewed your scenario and was able to reproduce it. It seems that this needs further investigation by the development team. I have submitted a new issue RIDER-92014. The issue will be handled by a developer there, and any further updates will be provided via the issue. Please upvote the issue and click Watch to subscribe to future notifications.

0

Please sign in to leave a comment.