ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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

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


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



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

Seen: 102 times

Last updated: Nov 23 '20