ros2-testing

Community

Test ROS 2 nodes with pytest and gtest

Authorwimblerobotics
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ROS 2 testing is complex across Python (pytest) and C++ (gtest) while also coordinating launch-based tests. This Skill guides you to design, implement, and verify unit, integration, and system tests for ROS 2 nodes, ensuring reliability in Jazzy and Rolling.

Core Features & Use Cases

  • Unit testing with pytest for Python nodes, including fixtures and type checks.
  • C++ unit testing with gtest for native nodes and libraries.
  • Integration and system testing with launch_testing to validate node orchestration and parameter interactions.
  • CMake/colcon test workflows that mirror ROS 2 build/test pipelines and provide runnable examples.
  • Example-driven guidance covering common ROS 2 testing patterns and best practices.

Quick Start

Use the provided templates to add ROS 2 node tests and run them with colcon test.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ros2-testing
Download link: https://github.com/wimblerobotics/ros2-copilot-skills/archive/main.zip#ros2-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.