# \[RFC\] Consolidating and Modernizing Integration Test Architecture for gz\_ros2\_control

**URL:** <https://discourse.openrobotics.org/t/rfc-consolidating-and-modernizing-integration-test-architecture-for-gz-ros2-control/58883>\
**Category:** ros-controls Ideas\
**Tags:** ros2, ros\_control, gazebo, testing\
**Created:** [October 15, 2026, 4:10pm UTC](https://discourse.openrobotics.org/t/rfc-consolidating-and-modernizing-integration-test-architecture-for-gz-ros2-control/58883 "2026-10-15T16:10:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vanjoseluis](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/vanjoseluis/32/33961_2.png) [@Vanjoseluis](https://discourse.openrobotics.org/u/Vanjoseluis)\
**Post date:** [October 15, 2026, 4:10pm UTC](https://discourse.openrobotics.org/t/rfc-consolidating-and-modernizing-integration-test-architecture-for-gz-ros2-control/58883/1 "2026-10-15T16:10:35Z")

</div>

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](https://github.com/ros-controls/gz_ros2_control/issues/964)) to discuss and define a consolidated integration test architecture before driving a broader refactor.

### Key Goals & Proposed Direction:

1. **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).

2. **Simulation Lifecycle Consolidation:** Reduce redundant Gazebo/ROS 2 launches by running sequential/parallel behavioral assertions within shared simulation sessions (without sacrificing granular failure reports).

3. **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](https://github.com/ros-controls/gz_ros2_control/pull/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_control` integration 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](https://github.com/ros-controls/gz_ros2_control/issues/964)

Best regards,

**José Luis Pérez Martín**
