ros2 application testing guide

asked 2021-04-22 04:23:43 -0500

avzmpy gravatar image

Are there any guides/tutorials on how community developing applications on top of ros2 are testing/integrating their code? I see that colcon docs have tools for this purpose, but there are no examples and guidelines on how to actually make use of them?

edit retag flag offensive close merge delete



The only examples I am aware of for system integration testing live in ros2/system_tests. For ROS2 unit testing practices, I'd recommend looking at the tests included with rclcpp and rclpy, as suggested here. I have also found nav2 to be a good resource for system test examples for a specific application. Though I'm not sure how high-level you are thinking.

shonigmann gravatar image shonigmann  ( 2021-04-22 13:01:58 -0500 )edit

But I also haven't found too much in terms of explicit documentation/guidelines on best practices, so I'd be interested if anyone else chimes in that guidance on that.

shonigmann gravatar image shonigmann  ( 2021-04-22 13:02:57 -0500 )edit