NCover over multiple processes
NCover over multiple processes
I have some NUnit tests running in a process. They in turn kick off other processes.
Will I have to kick off all these processes with ncover.console, and will each process have to output results to separate files that can be merged later ?
RE: NCover over multiple processes
If the nunit tests start multiple copies of the same program, then you just need to use the //pm argument like so
ncover.console.exe nunit-console.exe [test assemblies...] //pm [filename of the process that the nunit tests start]
however, if the tests start different processes, then you'll have to kick off each process with ncover.console and then merge the output file together later.
RE: NCover over multiple processes
Will there be a feature update to supply multiple files to the //pm switch ?
RE: NCover over multiple processes
It is being considered as a feature but will not be in the next few months.
Joe