chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
For the last few days my .NET MSTEST tests have been broken on the initialization because of the error below. Another user has reported the same exact thing more than 1 year ago with VS2017 but there still is no resolution.

VS2019 16.8.3 updated today.

YES my license is still good and product still activated in VS.

YES the extension "Integrate with other runners" is still checked.

these have not changed in a month - but the behavior has.

Please HELP ASAP!

*** Typemock Isolator is currently disabled. Enable using the following:

         * Within Visual Studio:

       - Use Typemock Smart Runner  

       - For other runners, Choose Typemock Menu and click "Integrate with Other Runners"

     * To run Typemock Isolator as part of an automated process you can:

        - run tests via TMockRunner.exe command line tool

        - use 'TypeMockStart' tasks for MSBuild or NAnt
asked by jeboal (630 points)

2 Answers

0 votes
 
Best answer

SOLVED!
A temp workaround has been found ( You can find it on this LINK).

The issue was an unsupported new VsTest version runner.
Full support will be on the next release.

answered by Alon_TypeMock (8.9k points)
0 votes

Hi Jeboal,

I've tried to reproduce the issue on my machine with no luck.

I have the latest VS version and everything works.

Can you please tell me what version of Isolator do you have on your machine?

Also, can you please try and reinstall Isolator?

Please keep me posted.

Cheers,

Alon Sapozhnikov.

Support Specialist.

answered by Alon_TypeMock (8.9k points)
I did reinstall Isolator. And upgraded Visual Studio 2019.

As I said before - nothing changed when this just stopped working under MSTEST. The TypeMock test runner is able to run them fine, but I do not like this interface and it is hampering development.

Please provide a solution.

Thanks!

Hi,

In order to figure out what is going wrong when trying to run the tests, I need the logs of the run.

Please open a ticket in our Premium Ticket Portal, add all the relevant information from here and also add logs of the run.

To enable the logs of vs do the following:

- Open Developer Command Prompt for VS
- Run the following command: devenv /Log
Open any solution
- Find ActivityLog.xml file. By default it's in "userAppDataRoamingMicrosoftVisualStudio.0_xxx"
Cheers,
Alon Sapozhnikov.
Support Speciailist.

Hi,

Also, please add to the ticket Typemock logs.

To enable the logs, you can go to in Typemock->Options->Logs in Visual Studio menu.
P.S. Also you can do it in TypeMock.Configuration utility from Typemock installation folder.
Cheers,
Alon Sapozhnikov.
Support Speciailist.

...