Running NCover on a dll.

Running NCover on a dll.

I have a dll that contains test attributes so that I can run it using NUnit. [STAThread] [TestFixtureSetUp] new public void SetUp() { base.SetUp(); }

[Test]
public void TC124_22()
{

How do I run NCover Console on a dll like this?


RE: Running NCover on a dll.

jshoeman,

The basic command is:

ncover.console //x Coverage.xml c:\pathtonunuit\nunit.console.exe dllname.dll /noshadow //p "The Name you wish to give the project"

//p is used for reporting.

Add: If you want to add trends (version 3) //at "C:\trend path\myprojecttrends.trend"

Joe