Completed
Last Updated: 26 Apr 2021 09:48 by ADMIN
Ivo
Created on: 10 Sep 2020 14:43
Type: Bug Report
0
JustMock tests are failing in Azure Pipelines when "Test platform version" option is set to "Installed by Tools Installer" and code coverage is enabled

Attempt to use JustMock VSTest v.2 task to run the elevated mode tests with coverage when the "Test platform version" option is set to value "Installed by Tools Installer" fails with error:

Telerik.JustMock.Core.ElevatedMockingException: Cannot mock '<target type goes here>'. The profiler must be enabled to mock, arrange or execute the specified target.
Detected active third-party profilers:
* {9317ae81-bcd8-47b7-aaa1-a28062e41c71} (from process environment)
Disable the profilers or link them from the JustMock configuration utility. Restart the test runner and, if necessary, Visual Studio after linking.

3 comments
ADMIN
Ivo
Posted on: 26 Apr 2021 09:48

Hello Benjamin,

I am sorry to hear that you are experiencing issues with JustMock VSTest v.2 task. Could you please open a dedicated support ticket, so we can communicate more safely and efficiently about your particular case.

Regards,
Ivo
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Ben
Posted on: 23 Apr 2021 22:05
I'm running into this problem as well.  We have the march 5 update (2.0.12)



Telerik.JustMock.Core.ElevatedMockingException : Cannot mock '{class method}'. The profiler must be enabled to mock, arrange or execute the specified target.


ADMIN
Mihail
Posted on: 05 Mar 2021 14:20

The issue is fixed and it is already uploaded to the Azure DevOps marketplace. It should automatically be updated in your pipelines as well.

Regards,
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/.