tempest/tempest
lkuchlan 0e3bbdfe7e Delete volume with associated snapshots
This feature provides the ability to delete a volume and have Cinder
handle deletion of snapshots associated with that volume.
It is allow a volume and its snapshots to be removed in one operation
both for usability and performance reasons.

Change-Id: I99f9910f75aef095f2bbb37680ee584e52bf82da
2017-04-06 08:27:30 +03:00
..
api Delete volume with associated snapshots 2017-04-06 08:27:30 +03:00
cmd Add --combine option to tempest run 2017-03-03 14:16:56 -05:00
common Merge "Remove set_mac_address from old remote_client" 2017-03-30 06:24:34 +00:00
hacking Cleanup ignored_list for T110 and T111 2017-03-13 15:27:32 -07:00
lib Delete volume with associated snapshots 2017-04-06 08:27:30 +03:00
scenario Merge "Remove set_mac_address from old remote_client" 2017-03-30 06:24:34 +00:00
services Swift list containers should test for reverse listing param 2017-02-08 10:42:19 -08:00
test_discover Use Sphinx 1.5 warning-is-error 2017-03-23 11:51:45 +00:00
tests Merge "Remove assign_static_ip from old remote_client" 2017-03-29 13:26:33 +00:00
README.rst Remove the Stress framework 2016-10-19 14:31:13 +02:00
__init__.py
clients.py Merge "Add test case for volume unmanage and manage" 2017-03-28 19:42:01 +00:00
config.py Merge "Remove deprecated compute config options for validation-2" 2017-03-30 12:08:49 +00:00
exceptions.py Add a generic "wait_for_volume_resource_status" function 2017-02-19 09:12:42 +02:00
manager.py Merge "Revert "Move dscv and ca_certs to config section service_clients"" 2016-08-20 22:48:10 +00:00
test.py Improve error info in assertEmpty and assertNotEmpty 2017-03-03 15:20:10 +08:00
version.py Add reno to tempest 2016-02-24 11:31:32 -05:00

README.rst

Tempest Field Guide Overview

Tempest is designed to be useful for a large number of different environments. This includes being useful for gating commits to OpenStack core projects, being used to validate OpenStack cloud implementations for both correctness, as well as a burn in tool for OpenStack clouds.

As such Tempest tests come in many flavors, each with their own rules and guidelines. Below is the proposed Havana restructuring for Tempest to make this clear.

tempest/
   api/ - API tests
   scenario/ - complex scenario tests

Each of these directories contains different types of tests. What belongs in each directory, the rules and examples for good tests, are documented in a README.rst file in the directory.

api_field_guide

API tests are validation tests for the OpenStack API. They should not use the existing python clients for OpenStack, but should instead use the tempest implementations of clients. Having raw clients let us pass invalid JSON to the APIs and see the results, something we could not get with the native clients.

When it makes sense, API testing should be moved closer to the projects themselves, possibly as functional tests in their unit test frameworks.

scenario_field_guide

Scenario tests are complex "through path" tests for OpenStack functionality. They are typically a series of steps where complicated state requiring multiple services is set up exercised, and torn down.

Scenario tests should not use the existing python clients for OpenStack, but should instead use the tempest implementations of clients.

unit_tests_field_guide

Unit tests are the self checks for Tempest. They provide functional verification and regression checking for the internal components of tempest. They should be used to just verify that the individual pieces of tempest are working as expected.