[ros-users] [Discourse.ros.org] [Next Generation ROS] Grey-b…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: fkromer via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Grey-box node/nodelet unit testing with ROS2


Is it possible to implement grey-box unit tests for nodes/nodelets with the built-in test infrastructure of ROS2?

A [grey-box test](https://en.wikipedia.org/wiki/Gray_box_testing) is a mixture of a black-box and a white-box test. I would consider e.g. supplying a node with input data via its interface (actions, services, topics, parameters) and assert something in the nodes library level (e.g. if mocked functions in the nodes library level have been called) as node grey-box test. (In a black-box node test the output data is captured via the nodes interface only and asserted in test nodes. In a white-box node test the nodes library level code is verified separate from the nodes interface.)





---
[Visit Topic](https://discourse.ros.org/t/grey-box-node-nodelet-unit-testing-with-ros2/3037/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>