ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Unittest are meant to test your libraries or ROS free code(Checkout here in 6. Levels of testing) may be only in Python and C++. So theoretically they should not depend on ROS related libraries. For unittest you can take the parameters as input from a yaml file. To answer your questions:
Parameter server at the moment is part of roscore. So without running roscore it is not possible.
Yes without roscore input from a file, or with upload them to paramter server after running roscore and now take the information now from parameter server.
Yes but not a good idea how about grouping the similar tests in test suites for consistency. A nice idea would be to follow AAA Cycle
2 | No.2 Revision |
Unittest are meant to test your libraries or ROS free code(Checkout here in 6. Levels of testing) may be only in Python and C++. So theoretically they should not depend on ROS related libraries. For unittest you can take the parameters as input from a yaml file. To answer your questions:
Parameter server at the moment is part of roscore. So without running roscore it is not possible.
Yes without roscore input from a file, or with upload them to paramter parameter server after running roscore and now take the information now from parameter server.
Yes but not a good idea how about grouping the similar tests in test suites for consistency. A nice idea would be to follow AAA Cycle
3 | No.3 Revision |
Unittest are meant to test your libraries or a ROS free code(Checkout here in 6. Levels of testing) may be only in Python and C++. So theoretically they should not depend on ROS related libraries. For unittest you can take the parameters as input from a yaml file. To answer your questions:
Parameter server at the moment is part of roscore. So without running roscore it is not possible.
Yes without roscore input from a file, or with upload them to parameter server after running roscore and now take the information now from parameter server.
Yes but not a good idea how about grouping the similar tests in test suites for consistency. A nice idea would be to follow AAA Cycle