NCover running as a background service
NCover running as a background service
Hello there,
We have a windows application to analyze for code coverage and bought the professional edition of NCover.
One issue we have is: NCover takes a lot of time and memory to load some of our debug symbols (pdb) which are big in the first place.
Hence we'd like to run NCover as a background service which monitors the application (exe defined within NCover explorer).
Please advise.
Many Thanks
Kash Jani
RE: NCover running as a background service
NCover is not currently able to run itself as a background service. How much does NCover slow down your application start-up? How much does NCover slow down application runtime?
RE: NCover running as a background service
We are using QTP automation testing tool to test our application and QTP kicks off the application.
We'd like NCover to profile our application once the QTP tests kicks off the application.
Is there any way we can ask NCover to start profiling the application once it's kicked off by our QTP scripts / test?
We do not want NCover to load the application. If we do this, NCover takes a lot of time to load the application due to one our PDBs being very big.
I look forward to your response.
Thanks.
RE: NCover running as a background service
Kash,
you should be able to do what you want with the following command line:
ncover.console.exe //pm
Stephen
RE: NCover running as a background service
Hi Stephen,
Thanks for your reply.
Did you mean as the QTP exe or the tests location?
Also please eloborate a bit on , unless you mean assemblies.
Many Thanks
Kash
RE: NCover running as a background service
Hi....
Could you please respond to my earlier query as soon as possible please?
We'd like to run NCover and look at our code coverage.
Thanks
Kash
RE: NCover running as a background service
kash,
command line should be
ncover.console.exe [qtp program that runs the tests] //pm [your program executable]