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

Rename the test suite method into: test_faceDetectionFunctional. Unittest needs the test suites to be named like test_something.

If this doesn't suffice, switch to rostest instead of rosunit. http://wiki.ros.org/rostest

then your main should look like:
rostest.rosrun(PKG, NAME, FaceDecFunc, sys.argv)

with
PKG = 'ros_nodes' and NAME whatever this test is named.