neutron-lbaas/neutron_lbaas/tests/tempest
Vu Cong Tuan a82ef9d5f5 Replace assertEqual([], items) with assertEmpty(items)
Since assertEmpty() function has already been implemented,
let's use this function instead of generic assertEqual() function.
This change makes the code and the error messages to be more readable.
Therefore it improves maintainability a little bit.

Change-Id: Ibbc698eae826a82f7a09f665ac643051f37e7d41
2017-06-12 16:25:53 +07:00
..
etc Neutron LBaaS: Load Balancer Basic Scenario Test 2015-06-26 22:25:37 -07:00
lib Use tempest.lib's TimeoutException 2017-02-28 11:11:34 -08:00
v2 Replace assertEqual([], items) with assertEmpty(items) 2017-06-12 16:25:53 +07:00
README.rst Openstack typo 2015-11-25 11:17:42 +08:00
__init__.py Initial Tempest Directory 2015-02-04 18:56:22 +00:00
config.py tempest: Add a config for session persistence types 2017-05-24 16:30:48 +09:00
plugin.py api test: Add config options for listener/pool protocol 2016-12-27 13:12:31 +09:00

README.rst

Welcome!

This contains the Tempest testing code for the Neutron Load Balancer as a Service (LBaaS) service. The tests currently require Tempest to be installed with a working devstack instance. It is assumed that you also have Neutron with the Neutron LBaaS service installed.

Please see /neutron-lbaas/devstack/README.md for the required devstack configuration settings for Neutron-LBaaS.

API and SCENARIO Testing with Tempest:

Included in the repo are Tempest tests. If you are familiar with the Tempest Testing Framework continue on, otherwise please see the Tempest README :

https://github.com/openstack/tempest/blob/master/README.rst

1. Using Devstack

If you have a running devstack environment, tempest will be automatically configured and placed in /opt/stack/tempest. It will have a configuration file, tempest.conf, already set up to work with your devstack installation.

Tests can be run in the following way but you need to have devstack running

for apiv1 tests :

$> tox -e apiv1

for apiv2 tests :

$> tox -e apiv2

for scenario tests :

$> tox -e scenario

2. Not using Devstack

6/19/2015 - As we do not have an external OpenStack environment with Neutron_LBaaS V2 to test with, this is TBD

3. Packages tempest vs. tempest-lib

As of 6/19/2015, tests are being migrated to tempest-lib, and while both that library and these tests are in-progress, a specific subset of tempest is also included in this repo at neutron_lbaas/tests/tempest/lib.

External Resources:

For more information on the Tempest testing framework see: <https://github.com/openstack/tempest>