2bd049d1af
Tempest provides stable library interfaces under tempest.lib. This patch switches to use it for data_utils. Change-Id: Id42ef764130b6fd82e089486775acdd4e709ecfc |
||
---|---|---|
.. | ||
services | ||
tests | ||
README.rst | ||
__init__.py | ||
clients.py | ||
config.py | ||
plugin.py |
README.rst
Tempest Integration of Almanach
This directory contains Tempest tests to cover the Almanach project.
Tempest Configuration File
Example of config file for devstack:
[DEFAULT]
[identity]
auth_version = v3
uri = http://192.168.50.50:5000/v2.0
uri_v3 = http://192.168.50.50:5000/v3
[auth]
admin_username = admin
admin_password = secret
admin_project_name = admin
admin_domain_name = Default
use_dynamic_credentials = true
Here, 192.168.50.50
is your devstack IP address.
Run tests on your local machine
- Create a virtualenv from :code:`https://git.openstack.org/openstack/tempest.git
- Create a custom
tempest.conf
, by default/etc/tempest/tempest.conf
is loaded - List the tests:
testr list-tests
- Run the tests with testr or tempest:
-
testr run
tempest run
Note: you can overwrite the default folder of the configuration by setting two environment variables
export TEMPEST_CONFIG=tempest.conf
export TEMPEST_CONFIG_DIR=/tmp/
Run tests in devstack
cd /opt/stack/almanach
tempest run