gtest for ROS2
Is there a guide similar to this one that I think it is for ROS that explain how to start writing and using gtest for ROS2 applications?
Also, does calling colcon test run the gtest tests?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there a guide similar to this one that I think it is for ROS that explain how to start writing and using gtest for ROS2 applications?
Also, does calling colcon test run the gtest tests?
Hi,
I can't give you a guide but I can give you examples
Really it mostly looks like gtest, just using ROS as if it were any other arbitrary library.
There's a minimal gtest example for ROS2 Humble/Rolling here: https://github.com/PickNikRobotics/test_examples
It probably works on other ROS distros too but I haven't tried it.
Asked: 2020-05-05 09:29:56 -0500
Seen: 3,163 times
Last updated: Nov 18 '22
Colcon test not running gtests
esp32 microros Component Linker Error
ROS in arm/v7, Docker, and Limited Storage Robot
Update odometry based on pose estimate
rviz2 does not display an urdf file
/odom topic doesn't work on ROS2
subscription callback types ROS1 vs. ROS2
Simple answer: yes
can you point me where to find that guide?