NCover and VS2008 Professional

NCover and VS2008 Professional

Hi,

I am wondering if it is possible to use NCover inside VS2008 Professional. It has MSTest but no coverage tools. Please advise.

thanks! Bill


RE: NCover and VS2008 Professional

short answer: yes

Consult the mstest documentation here: http://msdn.microsoft.com/en-us/library/ms182489(VS.80).aspx

and run MSTest under NCover. The final command line (for v2.1) should end up looking something like

NCover.Console.exe //reg //pm VSTestHost.exe mstest.exe /testcontainer:tests.dll

if you're using a version prior ot v2.1, the command line should look like NCover.Console.exe //reg mstest.exe /testcontainer:tests.dll /noisolation

Stephen