RAPP Platform Wiki
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
Testing tools used for RAPP Platform integration tests.
The RAPP Testing Tools have been developed in consideration of providing to RAPP developers, a system integration suite. While developing independent RIC modules, Web Services, Platform Agents, Robot Agents, the rapp_testing_tools package provides a way to test the functionality, system-wide.
All tests use the Python implementation of the RAPP Platform API,rapp-platform-api/python, to request for .
A test, written under the RAPP testing tools framework, is composed of, at-least, the following ingredients:
The implementation of a test is splitted into the following:
Test classes inherit from Python unit testing framework, unittest
At least one test, for each module located under the RAPP Improvement Center, has been developed. Integration test are used to check on the integration functionality, of the independent components which constitute the RAPP system. Those are developed in a way to also test the functionality of the interface layers between a client-side process and the RAPP Services.
The rapp_run_test.py script is used in order to execute developed tests. This script accepts the following arguments passed by the cli:
```bash $ ./rapp_run_test_.py -i default_tests/face_detection_tests.py ```
```bash $ ./rapp_run_test.py -i default_tests/face_detection_tests.py -n 10 ```
```bash $ ./rapp_run_test.py -i default_tests/face_detection_tests.py -n 10 -t ```
Note: If no test_name is provided as argument, all tests are executed!!
A template_test.py is located under the default_tests directory of the rapp_testing_tools package.
```bash $ <path_to_rapp_testing_tools_package>/scripts/default_tests/ ```
Also, several tests have already been developed, located under the default_tests directory. Those can be used as a reference/examples for developing new tests.
A Section in the Wiki exists that guides through developing integration tests for the RAPP Platform.