Installation

Rtest is distributed as an open source project and can be installed from source or downloaded as a pre-built package. The installation process is straightforward and can be done in a few simple steps. To get started with Rtest, you can follow the instructions below to install it in your ROS 2 environment. The installation process is designed to be simple and quick, allowing you to start writing and running tests in no time.

Binary packages

Binaries are only created for the Tier 1 operating systems listed in REP-2000.

We provide ROS 2 binary packages for the following platforms:

Install From Source

Rtest can be installed from source. We support building Rtest from source on the Tier 1 operating systems. The following steps outline how to install Rtest from source in your ROS 2 environment.

  1. Clone the Rtest repository:

Open a terminal and navigate to your ROS 2 workspace (e.g., ~/ros2_ws/src). Then, clone the Rtest repository using the following command:

$ git clone https://github.com/yourusername/rtest.git
  1. Build and run the test examples:

$ colcon build --cmake-args="-DRTEST_BUILD_EXAMPLES=On"
$ colcon test --packages-select rtest_examples --event-handlers console_cohesion+