Ghanshyam | 1f47cf9 | 2016-02-25 04:57:18 +0900 | [diff] [blame] | 1 | .. _api_microversion_testing: |
| 2 | |
Frédéric Guillot | 8160f08 | 2016-11-25 10:40:40 -0500 | [diff] [blame] | 3 | API Microversion Testing Support in Tempest |
Ghanshyam | 1f47cf9 | 2016-02-25 04:57:18 +0900 | [diff] [blame] | 4 | =========================================== |
| 5 | |
| 6 | --------------------------------------------- |
| 7 | Framework to support API Microversion testing |
| 8 | --------------------------------------------- |
| 9 | |
| 10 | Many of the OpenStack components have implemented API microversions. |
ghanshyam | c3b0b8b | 2016-03-16 11:58:34 +0900 | [diff] [blame] | 11 | It is important to test those microversions in Tempest or external plugins. |
Ghanshyam | 1f47cf9 | 2016-02-25 04:57:18 +0900 | [diff] [blame] | 12 | Tempest now provides stable interfaces to support to test the API microversions. |
| 13 | Based on the microversion range coming from the combination of both configuration |
| 14 | and each test case, APIs request will be made with selected microversion. |
| 15 | |
| 16 | This document explains the interfaces needed for microversion testing. |
| 17 | |
| 18 | |
| 19 | The api_version_request module |
| 20 | """""""""""""""""""""""""""""" |
| 21 | |
| 22 | .. automodule:: tempest.lib.common.api_version_request |
| 23 | :members: |
| 24 | |
| 25 | The api_version_utils module |
| 26 | """""""""""""""""""""""""""" |
| 27 | |
| 28 | .. automodule:: tempest.lib.common.api_version_utils |
| 29 | :members: |