summaryrefslogtreecommitdiff
path: root/HACKING.rst
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2017-02-04 09:46:51 +0100
committerAndreas Jaeger <aj@suse.com>2017-02-04 09:49:18 +0100
commit6e5593f11baa7423ac421126bb0c082d1e034cdc (patch)
tree9ece8500d8763d11fd8ac91b04cdf48933d6e5a9 /HACKING.rst
parent58dd39d6f8e75a9c2edee174f2e5c30e16666261 (diff)
downloadheat-6e5593f11baa7423ac421126bb0c082d1e034cdc.tar.gz
Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script can be run by users during testing and will be run by CI systems for specific setup before running unit tests. This is exactly what is currently done by OpenStack CI in project-config. This allows to change in project-config the python-db jobs to python-jobs since python-jobs will call this script initially. See also http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html Update HACKING for this. Needed-By: I98c1b799e520cad102b9e47cf51477f54b07e732 Change-Id: Id5e3b67190866acdebee2b89f4393d5c407a5b96
Diffstat (limited to 'HACKING.rst')
-rw-r--r--HACKING.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/HACKING.rst b/HACKING.rst
index 03c51a292..854e563a7 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -41,6 +41,9 @@ run --parallel` will run it in parallel (this is the default incantation tox
uses.) More information about testr can be found at:
http://wiki.openstack.org/testr
+Note that unit tests use a database if available. See
+``tools/test-setup.sh`` on how to set up the databases the same way as
+done in the OpenStack CI systems.
Heat Specific Commandments
--------------------------