Strona zostanie usunięta „Collect coverage”
. Bądź ostrożny.
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
Strona zostanie usunięta „Collect coverage”
. Bądź ostrożny.