Sandro4912
Sandro4912

Reputation: 351

Code Coverage for Visual Studio 2017 Community with C++

Are there any plugins for visual studio 2017 which enable to calculate unit test code coverage with C++?

I only found OpenCppCoverage: https://marketplace.visualstudio.com/items?itemName=OpenCppCoverage.OpenCppCoveragePlugin

but it seems to be outdated / not working.

Other than that it seems like there are only Code coverage plugins for .Net-Languages but not C++

Are there any other options (besides upgrading to MSVC Enterprise)

Upvotes: 5

Views: 4831

Answers (1)

Malick
Malick

Reputation: 6732

I recently tested CPPCoverage, an open source and free extension that works perfectly to perform code coverage of native Visual C++ unit tests.

It is a visual extension (VSIX) and provide details reports. Once installed, Right-click in solution explorer on the test or application project and click "Run code coverage".

Upvotes: 2

Related Questions