How can I integrate Python rosunit unit tests into the cmake build?
I would like to run rosunit
Python unit tests as part of make test
in the CI environment. In the wiki and in the catkin docs it is recommended to use cmake_add_nodetest()
for that. Is cmake_add_nosetest()
specific to nosetest
or can it used with the plain unittest
test runner as well/instead? (I know that rosunit
depends on unittest
. I didn't recognize a dependency from nosetest
.) If it's possible: Could you guide me to an integration example in the ROS code base?