Pytest + ROS Node Example Example package demonstrates how to use pytest for testing ROS nodes. You can run the tests with: catkin run_tests --this For info please read my blog post on machinekoder.com.