You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coverage report seemed to have been implemented with #1139 and #1394, but at some point I guess support was removed. There's no longer any mention of --coverage in the CMake files, and if I provide the -DCOVERAGE=ON as in the scripts/travis_ci_build.sh file, CMake warns that it's not used. I can't find any relevant make targets for coverage as mentioned in the docs.
@offa mentions in #1394 (comment) that gcovr is easy to use, so I'm trying to work it out now. But it would be nice if it was added back to the CMake builds.
The text was updated successfully, but these errors were encountered:
The COVERAGE option was intended to enable coverage for CppUTest's own tests.
Enable coverage by setting the appropriate compile options in your own project.
For example, for GCC:
gcovr is great for generating reports once you've run your instrumented tests.
You should be able to simply run gcovr --txt or gcovr --html from the working directory.
The coverage report seemed to have been implemented with #1139 and #1394, but at some point I guess support was removed. There's no longer any mention of
--coverage
in the CMake files, and if I provide the-DCOVERAGE=ON
as in thescripts/travis_ci_build.sh
file, CMake warns that it's not used. I can't find any relevant make targets for coverage as mentioned in the docs.@offa mentions in #1394 (comment) that
gcovr
is easy to use, so I'm trying to work it out now. But it would be nice if it was added back to the CMake builds.The text was updated successfully, but these errors were encountered: