Is it possible to gather code coverage data without the code coverage tool being the entry point?

Viewed 390

I am trying to gather code coverage information from my test bed.

The majority of code coverage tools I have considered using so far all operate by being the entry point to your software; typically you pass a command line argument or executable path to the code coverage tool and it runs your program, gathering code coverage data while it is running.

Unfortunately, I am in a situation where my testing solution starts and stops my program for each test. This means that traditional code coverage isn't going to work.

Is there a way to passively monitor an executable and related DLLs for code coverage while it is being run by other processes?

Please note that I am not asking for specific software recommendations. I just want to know if the type of code coverage gathering that I need is possible, and if so, what it is called so I can do further research on my own.

1 Answers
Related