[ROS2] launch-based testing

asked Jul 2 '19

updated Jul 2 '19

Hi all,

Does anyone have some good references for writing launch-based ROS 2 tests ??
The example in launch_testing_ros is kinda minimalist and I'm annoyed by the fact that the test has to be installed in share.

Thanks !

Preview: (hide)

Comments

1

As of ROS 2 Dashing, packages in both https://github.com/ros2/system_tests and https://github.com/ros2/demos repositories make extensive use of launch-based ROS 2 tests. For instance, see test_executable_output.py.in in test_rclcpp. Note that in this case the test is configured by CMake at build time. This solely obeys to the testing needs of test_rclcpp and it is not a requirement for launch-based tests in general. Hope it helps.

hidmic gravatar image hidmic  ( Jul 4 '19 )edit

Hi, thanks for the links ! I'll look at them this week and see if I can find my way out of them.

artivis gravatar image artivis  ( Jul 15 '19 )edit