Hi everyone,
Over time, the integration test suite in gz_ros2_control has grown incrementally as new controllers, demos, and interfaces were introduced. While these tests prevent regressions, the lack of a explicit test architecture currently leads to duplicate simulation launches, unnecessary CI runtime, and varying coverage across ROS 2 distributions (Rolling down to Humble).
I’ve opened an RFC on GitHub (#964) to discuss and define a consolidated integration test architecture before driving a broader refactor.
Key Goals & Proposed Direction:
-
Explicit Behavioral & Requirement Coverage: Shift from merely checking process/topic existence to validating physical feedback (joint position, velocity, effort command responses) for test mechanisms (slider, pendulum, gripper).
-
Simulation Lifecycle Consolidation: Reduce redundant Gazebo/ROS 2 launches by running sequential/parallel behavioral assertions within shared simulation sessions (without sacrificing granular failure reports).
-
Distro Harmonization: Unify semantics and implementation across Rolling, Lyrical, Kilted, Jazzy, and Humble, avoiding API lock-ins that break backports.
I’ve already validated parts of this approach in [PR #831] by redesigning the pendulum position test and introducing reusable observation utilities.
Before proceeding with follow-up PRs, I’d love to gather feedback from maintainers, contributors, and the broader ROS 2 community:
-
What specific behavioral regressions are highest priority for your workflows?
-
Are there known edge cases in
gz_ros2_controlintegration testing that we should address during this refactor?
Feel free to share your thoughts here or join the discussion directly on the GitHub RFC issue: [RFC] Define and consolidate the integration test architecture · Issue #964 · ros-controls/gz_ros2_control · GitHub
Best regards,
José Luis Pérez Martín