Search code examples
.nettestingnunitcode-coveragepartcover

How to use: PartCover .NET 4 with NUnit 2.5.6


Say I have Test assembly (NUnit compliant) App.Test.dll and a library to be tested App.dll.

How do I get the code coverage analysis using PartCover and NUint?


Solution

  • I concur. In my experiments (see blog post here: http://www.csharpcity.com/using-partcover-and-nunit-for-code-coverage/) I set up a project with an NUnit-complaint "AutomatedTest" project (which referenced NUnit's framework DLL and outputted a DLL full of test classes), and ran that through PartCover.