Hi, I'm currently using a trial version of TypeMock and studying how to integrate it in my project. I use Visual Studio 2017 as well as NUnit and OpenCover for unit testing.
I can run NUnit along with Typemock without any trouble. This works fine from the command line:
"C:\Program Files (x86)\Typemock\Isolator\8.6\BuildScripts\TMockRunner.exe" "C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe" /result=NUnitResults.xml "bin\x64\Release\TestLibrary.dll"
However, I can't make it work along with OpenCover. Please notice that I have the OpenCover.Profiler.dll registered and that I have selected OpenCover4 as the Code Coverage tool in the Typemock Isolator configuration tool. But that the following command does not work:
"C:\Program Files\opencover.4.6.519\OpenCover.Console.exe" -output:OpenCoverResults.xml -target:"C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe" -targetargs:"bin\x64\Release\TestLibrary.dll"
I get an error message saying that only the opencover profiler is enabled. I thought that manually linking the Isolator with OpenCover was enough. How can I do it?