Sample repository for ROS2 unit testing LCOV Build colcon build --symlink-install --cmake-args -DBUILD_TESTING=true -DCMAKE_CXX_FLAGS='-fprofile-arcs -ftest-coverage' -DCMAKE_C_FLAGS='-fprofile-arcs -ftest-coverage' Test colcon lcov-result --initial colcon test colcon lcov-result