nova-dpm/HACKING.rst
preethipy 83c2926d1c Initial Cookiecutter Commit
* It's the initial commit based on coockiecutter template
* Upstream nova is installed using tox_install.sh as install_command
* zhmcclient is installed via tox dependencies as zhmcclient is not
listed in global openstack requirements and therefore cannot be
listed in requirements.txt

Partial-Bug: #1644216

Change-Id: Ic53e59ebdcb574f4e9fb9d09471c9ddff9bb1759
2016-12-01 12:48:30 +05:30

736 B

Nova-DPM Style Commandments

Creating Unit Tests

For every new feature, unit tests should be created that both test and (implicitly) document the usage of said feature. If submitting a patch for a bug that had no unit test, a new passing unit test should be added. If a submitted bug fix does have a unit test, be sure to add a new one that fails without the patch and passes with the patch.

For more information on creating unit tests and utilizing the testing infrastructure in OpenStack Nova, please read nova/tests/README.rst.