X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=README.md;fp=README.md;h=2acd2dd48fd3cb5f4cfdbe301223220b07775cd9;hb=95f44a5947a1f340db94b9d821e16e4a373e6e69;hp=6038328a63f7f9f47e49c3c0b12e2606a0458769;hpb=9075724f37d63fd9b6cca5bc185a22ae13c9d1d0;p=ric-plt%2Ftracelibcpp.git diff --git a/README.md b/README.md index 6038328..2acd2dd 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,14 @@ make check Or with output CTEST_OUTPUT_ON_FAILURE=1 make check +## Coverage +Unit testing generates also coverage data. To get that in html format run commands, assuming +you are building in `build` dir under the tracelibcpp +```shell +lcov -c --no-external --base-directory $(dirname $PWD) --directory . --output-file cov.info +genhtml cov.info +``` + ## License See [LICENSES.txt](LICENSES.txt) file.