ページ "Collect coverage"
が削除されます。ご確認ください。
QtProtobuf has integrated procedure to collect code coverage for own libraries.
Collecting coverage only supported by linux-like OS's, because of gcov usage
Optional:
In project directory:
mkdir build
cd build
cmake .. -DMAKE_COVERAGE=ON -DCMAKE_BUILD_TYPE=DEBUG
cmake --build . -- j<N>
ctest #Run tests to collect coverage data
cmake --build . --target <QtProtobuf|QtGrpc>_coverage
Artifacts will be placed in gcov
folder
ページ "Collect coverage"
が削除されます。ご確認ください。