Forgot Password?Register
Log In Download

Does NCover covers child processes also?

Post a Reply

  • Does NCover covers child processes also?

    by pramodkh on Friday July 03, 2009, 07:00 AM

    Hi All

    I have a process 'ParentProcess' which starts several children processes. I start 'ParentProcess' using NCover for profilling that in turn starts child processes. when I generated the nCover report, I see that code coverage is done only for the 'ParentProcess'. Does NCover supports covering children processes?

    Thanks

  • RE: Does NCover covers child processes also?

    by joe.feser on Monday July 06, 2009, 01:31 PM

    NCover will cover a child process if you provide the name with the pm flag.

    //pm childprocessname.exe.

    Only one child process name can be provided, so if you have multiple child processes, only one name can be tested at a time.

    Does that help?

    Joe

  • RE: Does NCover covers child processes also?

    by joe.feser on Wednesday October 14, 2009, 01:57 PM

    To clarify. If you use the //pm flag, the parent process is not covered.

    Joe Feser

Post a Reply