GTest Framework for ROS2

Understand the GTest (Google Test) framework and how to integrate it with ROS2

NEW!
ROS2
8 hours
1 robot used
0% completed

Course overview

In this course, we will talk about GTest basics and how you can use GTest to test robotics applications built on ROS2

What You Will Learn

  • First, learn the basics of CMake as a build system focusing on making shared libraries and how to link a library to an executable.

  • Then, GTest is introduced in a step-by-step way that can be easily transferred for use with other packages or software projects. You will dive into test assertions and what assertion types are available.

  • Continue with ROS2 node unit testing. You will write a publisher and subscriber node in C++ and learn how to test its interfaces using GTest.

  • Next, you will learn a general method for creating system tests. You will explore how to set up a test environment inside a ROS2 workspace, write a system test with ROS2, and convert and adapt it to suit your system test needs.

  • Finally, you will practice by applying the knowledge and skills you have learned in this course in a final project. Your goal will be to validate that the software code provided performs as expected.

Course Summary

User Ratings

Order ratings by

robee contech
Rated 4 stars out of 5
4.0
theres is an issue with some includes that cause a bug in unit 2 but otherwise this is very helpfull
3/10/2022, 10:24:09
Chris Paliqaw
Rated 5 stars out of 5
5.0
22/9/2022, 12:00:17

Showing page 1 of 1. Total records: 2.

Course Creators

Roberto Zegers