Go to file
Zane Bitter b4acd96ee3 Access Tempest config.CONF directly
This ensures that all Tempest plugin configs are loaded. Accessing it
via heat_tempest_plugin.config.CONF assumed that something else was
loading the plugin configs before we tried to access it. This is
probably only the case when running Tempest itself, but we want to be
able to discover and run tests from the heat_integrationtests without
going through Tempest.

Change-Id: I5e9325766ce166e62c731330c462c030cb1e11fc
2018-01-18 12:11:31 -05:00

Heat Tempest Plugin

Tests can be run as a tempest plugin 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

export DEST=/opt/stack

# create test resources and write tempest 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_tempest_plugin.tests

If custom configuration is required, edit the [heat_plugin] section of

$DEST/tempest/etc/tempest.conf

Description
OpenStack Orchestration (Heat) Tempest Plugin
Readme 2.8 MiB
Languages
Python 100%