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 | Q&A answers.ros.org |
Does somebody know examples of ROS unit tests of nodelets?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2017-10-18 16:16:52 -0500
Seen: 274 times
Last updated: Oct 18 '17
Writing Unit Test for ROS2 Action Server
How can I integrate Python rosunit unit tests into the cmake build?
ros2 crystal tutorial gtest message and service testing
How can I tell "catkin build" to execute unit tests via valgrind?
Node Unit test: can't launch them on crosscompiled build
How to structure & link automated tests
When writing gtests with ROS, why doesn't the FRIEND_TEST macro work? [closed]
Is there a way to run a rostest with the gdb debugger?
How to perform automated test when robot state doesn't change by a signal(published ros2 topic)?
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.