I am attempting to gather code coverage data for my automated tests. However, the testing framework we built is not a part of the same solution as our product and our tests have no direct references to our product's code.
Because of this, I am worried that simply turning on code coverage in vstest will not be sufficient to see what code was executed in the product.
How can I include separate executables in the code coverage data?
The paths I am currently trying to pursue:
- Include the path to our product's .pdb files in the .runsettings file and things just magically work
- Use another tool that gathers code coverage, such as vsperfmon, to gather code coverage data of our product for the duration of the test run