Class RclcppTestFixture

Inheritance Relationships

Base Type

  • public testing::Test

Class Documentation

class RclcppTestFixture : public testing::Test

Create a descendant of this class and use it as a fixture for Gtest tests using TEST_F macro. It will automatically start and stop the rclcpp backend.

Protected Functions

inline void SetUp() override
inline void TearDown() override