Welcome, Guest!

Possible to get coverage on Process that is launch by Nunit

Possible to get coverage on Process that is launch by Nunit

by forums on Tuesday September 18, 2007, 01:34 PM

I am using Nunit to run my unit test, in my nunit test dll I am launching a process (which I then test using  UI Automation (if interested see following page for more details on UI automation http://msdn.microsoft.com/msdnmag/issues/05/09/TestRun/default.aspx)).  Currrently I am getting code coverage on the test dll, but not the Process that is launch.  I have tried to use //a passing the assemblies of the process that is being started, but this does not workr.  Any suggestions how to get code coverage on the process that is started would be greatly appreciated.


Thanks

RE: Possible to get coverage on Process that is launch by Nunit

by dmcgloin on Saturday March 29, 2008, 01:15 PM

Anyone get this working?

RE: Possible to get coverage on Process that is launch by Nunit

by sporewell on Monday March 31, 2008, 05:19 AM

dmcgloin,

the "//pm " option profiles a particular child process, not its parent, and it should do what you're trying to do here.

Regards,
Stephen Ward