summaryrefslogtreecommitdiff
path: root/heat_integrationtests/README.rst
blob: 3ba61cdc1c435afb1965235d6a0dc1c1f7c02733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
======================
Heat integration tests
======================

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::

    export DEST=/opt/stack

    # create test resources and write config
    $DEST/heat/heat_integrationtests/prepare_test_env.sh
    $DEST/heat/heat_integrationtests/prepare_test_network.sh

    # run the heat integration tests
    cd $DEST/heat
    stestr --test-path=heat_integrationtests

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``