ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have an example of doing code coverage using gcov for ROS C++ code at node_example. The tests are run as part of a Travis job and the results are uploaded to codecov, but you can also get the coverage results locally as well.
That package does not yet include tests for Python code.
2 | No.2 Revision |
I have an example of doing code coverage using gcov for ROS C++ code at node_example. The tests are run as part of a Travis job and the results are uploaded to codecov, but you can also get the coverage results locally as well.
The relevant steps for doing code coverage of a ROS package can be found in the Travis configuration file at:
https://github.com/tdenewiler/node_example/blob/master/.travis.yml#L134
That package does not yet include tests for Python code.