Profiling multiple processes?

Profiling multiple processes?

Hi,

I am using NCover 2.1 Enterprise to attempt to profile multiple processes. I have 2 processes that I want to retrieve code coverage data from using the NCover Console and want the output to be merged together (so a HTML/XML file with details of the processes and code covered).

The command I am attempting to run is similar to this : -

"NCover Console path" "NUnit Console path" myNUnitTest.dll //pm process1.exe //pm process2.exe //w "Directory where all processes exist" //h "coverage html report"

The NUnit test simply runs both processes simultaneously.

Stacking the process module name with multiple processes runs but only the latter process is profiled.

Does anyone know a way to achieve multi profiling processes with NCover? Can this be done with the new version of NCover?

Thanks.


RE: Profiling multiple processes?

//pm only supports a single process per NCover execution. if you want coverage on both processes, you will have to run ncover twice, once on the first process and once on the second process, then merge the output together using ncoverexplorer.console.

unfortunatly, the new version does not support multiple //pm processes

Stephen