.net nunit code coverage

Answered

Hi guys,

due to platform restrictions i'm unable to use the NUnit Runner to execute our unit tests.
Therefore, we're running the tests calling the nunit-console.exe through a command-line step.
Results are gathered through an additional build feature "XML report processing".

Now, we want to add code coverage configuration to our builds.
From the available options, since we don't use the runners, i think the only one is "Manually Configuring Reporting Coverage".
Is this correct ?

If not, what are the real options here ?

Thanks in advance!

Cheers,
Ricardo Guerra

0
2 comments
Avatar
Permanently deleted user

I am in the same situation, Can somebody provide some help on this topic?

 

Thanks

 

xiali

0

Hello,

The proposed solution is correct. You can code coverage via command line and then report results to TeamCity using service messages.

0

Please sign in to leave a comment.