Automated Testing and CI/CD #206
Replies: 5 comments 1 reply
-
We should use the launch_testing to test nodes https://docs.ros.org/en/rolling/p/launch_testing/ examples from ROS using the launch_testing package to test ROS itself https://github.com/ros2/launch_ros/tree/master/launch_testing_ros |
Beta Was this translation helpful? Give feedback.
-
Idea: Composable TestsI wonder if we could specify a test that says “when the takeoff button is pressed, the robot should reach a height of N meters”
Although it seems like a lot up front, this actually creates tests for many functionalities that can then be easily composed for other types of tests later. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I found out this AI tool can solve failing CI/CD tests |
Beta Was this translation helpful? Give feedback.
-
@andrewjong Any given tester would need the runtime configuration (node name, ns, remapped topics etc.) of the node that it would be testing. I am planning to get these by parsing the bingup launch.xml for each respective package. Right now we have a central autonomy bringup launch file which directly calls the nodes, but I would like to have individual package bringup launches which are then called by the overall bringup launch. Planning to add the custom launch parser util to a new testing_helper package in autonomy/common. Do you have any suggestions/advice? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Want automated system level and node level tests. Want to be able to run colcon test to automatically run tests. Want to generate reports in an HTML page. Want to be able to test across different environments. Want to be able to scale this to run dozens or hundreds of tests at once.
Beta Was this translation helpful? Give feedback.
All reactions