ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

rostest does not currently have a way to specify filters at the command line. Nevertheless, if you were using C++, you could specify gtest filters as args for your test node. E.g:

<launch>
     ...
     <test test-name="foo" pkg="foo" type="foo" args="--gtest-filter ..."/>
</launch>

Python's unittest probably has a similar structure, where you can pass filters to the test node as arguments.