ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Unit testing with ROS

asked 2020-11-22 20:38:11 -0600

Kansai gravatar image

I would appreciate very much if someone can point me to tutorials and resources about (google) unit testing with ROS. I am aware of the official page, so I would appreciate if there are other resources. I would like to understand practically how to do this.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-11-23 03:25:59 -0600

Tahir M. gravatar image

The first and far most the great source to start with gtest is the Googletest Primer. Depending upon this there are several tutorials out there like video lectures here with its code here gives a head start. There are also other several examples on github like here. The guy here have provided examples for all levels of testing unit test both in python(unittest) and c++(gtest) and than regression testing with ros in launch files. The repo also has pdf presentation with which you can understand what he tries to explain and test.

edit flag offensive delete link more

Comments

Thanks. The three first resources are for only gtests, right? without ROS involvement? I'll take a look

Kansai gravatar image Kansai  ( 2020-12-07 18:00:54 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2020-11-22 20:38:11 -0600

Seen: 224 times

Last updated: Nov 23 '20