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
Importing and defining custom services in ROS 2 Foxy
How to use pcl_ros::transformPointCloud in ROS 2?
How to set NodeOptions for a ComposableNode in a .launch.py file?
When should you set use_sim_time to true
Ros 2 command line service call with array of custom msg
Using Kinect 360 in ROS 2 Foxy
Simple answer: yes
can you point me where to find that guide?