I have a system I would like to to analyse for coverage that consists of a web service and Windows service. I have a testing console application that makes HTTP requests to the web service, changing an underlying database, and the Windows service also acts upon that database.
What I would like to do is script dotCover in a batch file to include the DLLs used by the web service and the Windows service in the profiling.
I think there are 2 ways to do what I need.
1. Supply a list of DLLs on disk that should be profiled in the session triggered by my test application.
2. Profile the web service and the Windows service seperately in 2 sessions, then merge the results. This is less ideal than #1, but could work if I can start and stop the profiling of both from the batch file. I can't find any documentation on how to do this from the command line, only profiling of an exe. My needs are made more complex because the test application actually installs both the Windows service and web service in it's test initialization routines (that doesn't really need to be profiled).
Is this possible to do?