summaryrefslogtreecommitdiff
path: root/heat_integrationtests/README.rst
diff options
context:
space:
mode:
authorricolin <rico.lin@easystack.cn>2017-12-16 01:43:31 +0800
committerZane Bitter <zbitter@redhat.com>2018-01-19 13:26:25 -0500
commit41cc012b3441d79cf89c2961b72959e9b8f25803 (patch)
tree0819592ad4a6d707f23281a019c85427c29e9c11 /heat_integrationtests/README.rst
parent35f6863fa652db348aeda45dd2716eb734412725 (diff)
downloadheat-41cc012b3441d79cf89c2961b72959e9b8f25803.tar.gz
Allow run tests for both tempest plugin and regression tests
Regression tests will be maintained in-tree. See categries list: https://etherpad.openstack.org/p/heat-integration-test-categories We will seperate tests to tempest plugin or in-tree base on conditions of each tests. So we need to rework on framework for integration tests. This patch propose following changes: * This partially reverts commit fff6518e69d19c7946942d1bd7c68e2b76c15966 * Allow running heat tempest plugin and heat regression tests. * iniset configs to both heat_integrationtests.conf and tempest.conf Change-Id: Ief31dc961bc108e2863119598dfb16581a38e9cf Depends-On: I5e9325766ce166e62c731330c462c030cb1e11fc Co-Authored-By: Zane Bitter <zbitter@redhat.com>
Diffstat (limited to 'heat_integrationtests/README.rst')
-rw-r--r--heat_integrationtests/README.rst28
1 files changed, 12 insertions, 16 deletions
diff --git a/heat_integrationtests/README.rst b/heat_integrationtests/README.rst
index bf556c60a..3ba61cdc1 100644
--- a/heat_integrationtests/README.rst
+++ b/heat_integrationtests/README.rst
@@ -2,28 +2,24 @@
Heat integration tests
======================
-These tests can be run as a tempest plugin against any heat-enabled OpenStack
-cloud, however defaults match running against a recent DevStack.
+These tests can be run against any heat-enabled OpenStack cloud, however
+defaults match running against a recent DevStack.
-To run the tests against DevStack, do the following:
-
- # Define DEST
+To run the tests against DevStack, do the following::
export DEST=/opt/stack
- # create test resources and write tempest config
-
+ # create test resources and write config
$DEST/heat/heat_integrationtests/prepare_test_env.sh
-
$DEST/heat/heat_integrationtests/prepare_test_network.sh
- # run tempest selecting only these tests
-
- cd $DEST/tempest
-
- tempest run --regex heat_integrationtests
-
-If custom configuration is required, edit the [heat_plugin] section of
+ # run the heat integration tests
+ cd $DEST/heat
+ stestr --test-path=heat_integrationtests
- $DEST/tempest/etc/tempest.conf
+If the Heat Tempest Plugin is also installed, the tests from that will be run
+as well.
+If custom configuration is required, add it in the file
+``heat_integrationtests/heat_integrationtests.conf``. A sample configuration is
+available in ``heat_integrationtests/heat_integrationtests.conf.sample``