It is possible to combine code coverage results (VC ++)

I am using VC ++ 2005 and 2008 for a project. Now I want to see if the unit test case covers the entire code, and have discovered a problem. We use Boost.Test for unit testing, and each file is designed to test a specific function or method. Each file is compiled into a separate executable file.

I can view the results for each executable in Visual Studio. I am really interested in looking at the overall coverage of the code with all the combined tests. Is there a way to combine code coverage results?

+3
source share
2 answers

I do not know about Visual Studio testing tools.

Our SD C ++ Test Coverage Tool combines test coverage vectors from a single source code toolkit, regardless of how many times you compile / link it (if you do not change the source of the test code). This tool is available for Visual Studio C ++ dialects (s). SD testing tools for other languages ​​have the same property.

0
source

C ++ Coverage Validator can combine results from different code coverage sessions. You can combine sessions interactively using the GUI or from the command line (so you can automate everything).

.

0

Source: https://habr.com/ru/post/1751766/


All Articles