Migrated microversion testing framework to tempest/lib

Tempest implements the microversion testing support and
that framework and interfaces have been tested by implementing
the Compute 2.2 microversion as well as by their unit tests.

Those should be stable interfaces so that can be consumed by other
projects microversion testing either in tempest or outside tempest.

To make them as stable interface, this commit moving that framework and
its interfaces to tempest/lib folder.

Adding release notes and library doc for those interface.

Partially implements blueprint api-microversions-testing-support

Change-Id: Icbdcfb4cd5b7fb1029eec035b9e0024be59c8d1f
This commit is contained in:
Ghanshyam
2016-02-25 04:57:18 +09:00
committed by Ghanshyam Mann
parent 0d560a9ce4
commit 1f47cf976b
15 changed files with 147 additions and 57 deletions

View File

@@ -0,0 +1,29 @@
.. _api_microversion_testing:
API Microversion Testing Support in Temepst
===========================================
---------------------------------------------
Framework to support API Microversion testing
---------------------------------------------
Many of the OpenStack components have implemented API microversions.
It is important to tests those microversion in Tempest or external plugins.
Tempest now provides stable interfaces to support to test the API microversions.
Based on the microversion range coming from the combination of both configuration
and each test case, APIs request will be made with selected microversion.
This document explains the interfaces needed for microversion testing.
The api_version_request module
""""""""""""""""""""""""""""""
.. automodule:: tempest.lib.common.api_version_request
:members:
The api_version_utils module
""""""""""""""""""""""""""""
.. automodule:: tempest.lib.common.api_version_utils
:members: