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
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
We have a .net exe application for which we have written the unit tests using TypeMock. We use VS2008 and the application targets .net 2.0 runtime. The unit test project targets .net 3.5. We are using Typemock 5.3.

We want to get the coverage report using Ncover, for which the following command is used:

"C:Program FilesTypemockIsolator.3TMockRunner.exe" -first -link NCover "C:Program FilesNCover cover.console.exe" //x "c:coverage.xml" "D:NUnit.4.7in unit-console.exe" "D:TestCodeBuildsUnitTestsinDebugBuildsUnitTests.dll"

Running this command gives the coverage of only the BuildUnitTest code, it doesnot give the coverage of our application code.

Question: What command should we use to get the coverage for the application code?

Note that we use the TestDriven.net to get the coverage from within the VS2008 IDE and that gives the coverage of the application code.

Please let me know as soon as possible as we are blocked by this.

Thanks,
-Vinay
asked by vtandasi (1.2k points)

2 Answers

0 votes
I am not sure if you need the //pm option with type mock.

If you do not get a response tomorrow, please contact us at support@ncover.com

What version of NCover are you using?

Joe Feser
answered by joencover (140 points)
0 votes
Hi Vinay

From the Isolator side you should just link with the right version of Ncover.
If you are linked against the right version than as Joe told you it seems like the Ncover support can help you.
answered by ohad (35.4k points)
...