Completed
Last Updated: 24 Sep 2019 10:06 by ADMIN
Mihail
Created on: 13 Aug 2019 09:10
Type: Bug Report
1
JustMock stopped working in the latest version 16.2.1 of Visual Studio 2019
The execution of JustMock tests stoped working in Visual Studio. The exact version is 16.2.1. The error message is: "The profiler must be enabled to mock, arrange or execute the specified target."
4 comments
ADMIN
Mihail
Posted on: 24 Sep 2019 10:06

This issue is fixed and is available with R3 2019 (2019.910.4) release.

Regards,
Mihail
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Don
Posted on: 04 Sep 2019 12:45

Thank you Mihail!

The second workaround (adding the JUSTMOCK_INSTANCE env variable) did not work, but the first workaround (starting VS without the Test window) did work for me. That allows me to at least run the unit tests, so I can now wait until the next JustMock release later this month.

 

Sincerely,

Don Neeper

ADMIN
Mihail
Posted on: 04 Sep 2019 12:31
Hello Don,

We are targeting the upcoming R3 2019 release which can be expected mid September.

Meanwhile you could use two workarounds to solve this issue.

First workaround:
1. Open Visual Studio 2019 without the test window been open.
2. Wait the JustMock async extension to be loaded.
3. Open the Test window and run the tests.

Second workaround:
1. Add the JUSTMOCK_INSTANCE = 1 to your user environment variables.
2. Open VS 2019 and run the tests.

We are currently at the stage of final tests of the fix. We could send you an internal version that you could test and verify at your end that our fix is working. If you interested in this, please open a support ticket for JustMock and I will provide you the internal version.

Regards,
Mihail
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Don
Posted on: 04 Sep 2019 12:13

Is there a time estimate for when the fix will be available? Or, is there a workaround short of uninstalling VS2019 and re-installing an earlier version? Right now I haven't been able to run any of the unit tests in the solution for the past three weeks...