Unit Tests

Note

This document originates from the OpenStack Nova project. Since we also use the same toolset for testing, we can also use some of their documentaion. We have obviously made changes that only affect our project but we credit the OpenStack project for the original [1].

Payload contains a suite of unit tests, in the payload/tests directory.

Any proposed code change will be automatically rejected by the Kickstand Project Jenkins server if the change causes unit test failures.

Running the tests

Run the unit tests by doing:

tox

This script is a wrapper around the nose testrunner and the pep8 checker.

Footnotes

[1]See http://docs.openstack.org/developer/nova/devref/unit_tests.html