Limiting scope of test reports to subset of files
We have a project that requires unit testing of only a subset of files in the source tree. I know how to pass a specific list of resources to cpptestcli using the -resource parameter. There is also a method to filter files in the test configuration.
What I'd like to do is keep track of coverage results of only the files that are being tested and not all files in the entire project.
Best Answer
-
On the DTP side, you can set up Resource Groups in your DTP filter to see coverage for only certain files/resources.
5
Answers
-
After follow that path, the "Add Resource Groups" pop-up shows an empty list. I must be missing a step. Perhaps I need to configure or tag something in the C++test project to provide resources to that list?
Edit: I found how to add resource groups. Edit the DTP project. There is a Resource Groups section to create as needed.
0