Using python nose for the testing framework.
OpenRAVE testing server uses Jenkins and runs these tests, records statistics, and generates this documentation. The tests are run on trunk, and if deemed stable, the stable subversion tag is updated.
Because it is not necessary to cater to the lowest common denominator, use easy_install to get latest test packages
sudo easy_install nose coverage
Optional For entire testing harness:
sudo apt-get install graphviz python-svn gnu-pgagent
If using Jenkins to run tests, the following Jenkins plugins should be installed:
The tests are designed to output to Jenkins-friendly format using the python nose and Jenkins xUnit plugins.
Measurements and their history are recorded with the Jenkins Measurement Plots Plugins. This is done by outputting the following xml on stdout:
<measurement><name>myvaluename</name><value>14.669</value></measurement>
Can build entire ubuntu environments using debootstrap.
To run, first install OpenRAVE into your path, then:
python test/run_tests.py
For future: Running ‘make test’ in the root directory should setup the OpenRAVE environment from local build folder and run all tests.
All these tests must pass for a release candidate:
Once building is successful, IKFast tests are run for every robot in its database using the test/test_ikfast.py script. The statistics are used to generate reStructuredText for the Robots Database page. IKFast Performance Testing goes into details about what is tested.