Testing

Testing#

Run the unit tests with pytest from the repository root:

python -m pytest

ROS-related tests can use ARMW’s native backend when a ROS message definition path is available:

ARMW_MIDDLEWARE=native
ROS_PACKAGE_PATH=/path/to/common_interfaces
python -m pytest

The CI templates run the Python test suite and collect JUnit and coverage artifacts. Use dedicated ROS 1 and ROS 2 downstream jobs for behavior that depends on real middleware or generated ROS package layouts.