OpenCppCoverage is available as a Visual Studio extension.
You can download it
This extension supports Visual Studio 2013 (Community Edition, Pro or higher) and Visual Studio 2015 (Community Edition, Pro or higher).
After installing the extension, you will find inside Tool menu the command
Select a C++ project as Set as StartUp Project and click on the command
Run OpenCppCoverage. You can also use the shortcut Ctrl+R, Ctrl+C.
Project compilation (if needed)
After executing the command, the extension will try to compile the startup project if needed, using the active solution configuration.
This extension supports both Win32 and x64 in debug and
release. It is recommended to run in debug and not in release.
See Release versus Debug for more information
The extension runs OpenCppCoverage executable on your startup project.
OpenCppCoverage executes the Command defined in the startup project properties,
Configuration Properties / Debugging / Command.
You can define the command argument (not the OpenCppCoverage arguments) and the working directory in the properties
Command Arguments and Working Directory.
The extension creates the same html report as OpenCppCoverage executable.
The output pane OpenCppCoverage displays additional information about the coverage.
You can use backspace to go to the previous page.