How can I unit test a ROS nodelet?
Does somebody know examples of ROS unit tests of nodelets?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Does somebody know examples of ROS unit tests of nodelets?
Asked: 2017-10-18 16:16:52 -0600
Seen: 348 times
Last updated: Oct 18 '17
How can I integrate Python rosunit unit tests into the cmake build?
How to structure & link automated tests
Node Unit test: can't launch them on crosscompiled build
How can I tell "catkin build" to execute unit tests via valgrind?
ros2 crystal tutorial gtest message and service testing
Writing Unit Test for ROS2 Action Server
gtest fuerte undefined reference when linking
What would you want to test specifically? Business logic used by the nodelet (should have other unit tests), or logic contained in the nodelet? Or the nodelet management infrastructure? At the ROS API level, there isn't really much difference between a nodelet and a node.
I am interested in testing nodelets w.r.t. the differences between a node and a nodelet... means the nodelet management structure which falls not into the category of nodelet integration testing. (Is it even possible to consider the unit and integration level separate?)
so that would be testing the
nodelet
package itself then? As that provides the loading/starting/stopping of nodelets.Not random other nodelets that are based on that.