Does NCover includes Spawned process coverage?

Does NCover includes Spawned process coverage?

Hi, If we Spawn (c#.NET)a running process launched by NCover, does NCover calculates the Child processes coverage as well?


RE: Does NCover includes Spawned process coverage?

Hi jagangundaa,

Yes, NCover should profile any child process spawned from a parent that NCover starts.

If it looks like NCover isn't covering a child process, you can go Project Settings > Output Options in NCover Explorer and enter the process name(s) in the Advanced Options field.

If you're running NCover from the command line, you can just add "//pn process name" to your console arguments.

Both of these options will tell NCover to profile the specified process, if it can find it.

If you want NCover to profile all the processes it starts, directly or indirectly, go to Project Settings > Output Options in NCover Explorer and check the "Cover all started processes" box.

From the console, simply add the //coverall argument to do the same thing.

I hope this helps!

Thanks and regards,

NCover Support


RE: Does NCover includes Spawned process coverage?

Thats very helpful information, thanks Rhinson.


RE: Does NCover includes Spawned process coverage?

You're welcome!