Cpp code coverage running under launch_testing?

asked 2022-02-15 15:00:49 -0500

matthewsjca gravatar image

Looking to see if anyone has any previous experience getting code coverage generation for a C++ node running launch_testing.

We are breaking down our tests into a few classes:

  • Unit tests for testing internal logic
  • Integration tests where we mock out ROS
  • Launch tests to hit the node interfaces

The first two types we are able to generate code coverage using the standard tools (or skipping the ament_ versions occationally to get the output we would like for our internal jenkins CI) but with the last case we are looking for any experience with generating c++ code coverage with launch testing.

edit retag flag offensive close merge delete