diff --git a/rqt/package.xml b/rqt/package.xml
index 9f1fca65..abff9458 100644
--- a/rqt/package.xml
+++ b/rqt/package.xml
@@ -20,6 +20,8 @@
rqt_gui_py
rqt_py_common
+ python3-pytest
+
ament_python
diff --git a/rqt/setup.py b/rqt/setup.py
index f9d37e41..413f76af 100644
--- a/rqt/setup.py
+++ b/rqt/setup.py
@@ -30,4 +30,5 @@
),
packages=[],
license='BSD',
+ tests_require=['pytest'],
)