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
+1 vote

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)TypemockIsolator8.6BuildScriptsTMockRunner.exe" "C:Program Files (x86) unit-console unit3-console.exe" /result=NUnitResults.xml "bindReleaseTestLibrary.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 Filesopencover.4.6.519OpenCover.Console.exe" -output:OpenCoverResults.xml -target:"C:Program Files (x86) unit-console unit3-console.exe" -targetargs:"bindReleaseTestLibrary.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?






closed with the note: Solved
asked by acendrero (610 points)
closed by acendrero