sudo dnf install gtest-devel gmock-devel lcov
sudo apt install libgtest-dev libgmock-dev lcov
gtest-example
contains C++ code and a gtest
test suite.
mock-example
contains C++ code and a gtest
test suite that uses gmock
. We use lcov
to measure code coverage.