-
Notifications
You must be signed in to change notification settings - Fork 14
ROS Testing
The bulk of the testing for this project's robotic software is done through the ROS testing framework. Catkin is used to start all of the automated tests. This is done in conjunction with the help of the rostest utilities.
To run all of the project's automated tests, simply call catkin_make run_tests in the main workspace where SecurBot's packages are located.
To run specific launch files with their test configuration, run rostest <pkg_name> <launch_file>
Write test nodes in separate source files and commit them in the test/ directory of the package containing the node(s) to be tested. Add the necessary test nodes to the launch files associated with the nodes to be tested. Alternatively if the launch file is only written for testing purposes, name the launch file with the .test extension instead of .launch.