# \#pytest

**URL:** https://discourse.openrobotics.org/tag/pytest/359.md

[Latest](https://discourse.openrobotics.org/latest.md) · [Categories](https://discourse.openrobotics.org/categories.md) · [Tags](https://discourse.openrobotics.org/tags.md)

---

## [Ros2\_test\_compose: a YAML-to-pytest generator for ROS2 integration testing](https://discourse.openrobotics.org/t/ros2-test-compose-a-yaml-to-pytest-generator-for-ros2-integration-testing/57280)

<div class="topic-metadata">

**Author:** [@Willore](https://discourse.openrobotics.org/u/Willore)\
**Replies:** 0\
**Last updated:** [August 10, 2026, 3:46pm UTC](https://discourse.openrobotics.org/t/ros2-test-compose-a-yaml-to-pytest-generator-for-ros2-integration-testing/57280 "2026-08-10T15:46:54Z")

</div>

Hi everyone, I’m a PhD student, and after a few years my codebase has grown quite a bit, spread across different git repos, Docker containers, and machines. I knew it would be good to add some tests to avoid regressions…

---

## [What is the recommended pytest workflow for an ament\_cmake\_python package?](https://discourse.openrobotics.org/t/what-is-the-recommended-pytest-workflow-for-an-ament-cmake-python-package/28471)

<div class="topic-metadata">

**Author:** [@RFRIEDM](https://discourse.openrobotics.org/u/RFRIEDM)\
**Replies:** 2\
**Last updated:** [November 23, 2022, 5:07pm UTC](https://discourse.openrobotics.org/t/what-is-the-recommended-pytest-workflow-for-an-ament-cmake-python-package/28471 "2022-11-23T17:07:34Z")

</div>

Hello! I am seeking a recommendation for the following situation. I have a ROS2 package (humble) that only contains some python code, see it here. I would like to add tests to it. Build type: ament\_cmake Build Tool D…
