Sean Dague | 09761f6 | 2013-05-13 15:20:40 -0400 | [diff] [blame^] | 1 | Tempest Guide to Third Party API tests |
| 2 | ======== |
| 3 | |
| 4 | |
| 5 | What are these tests? |
| 6 | -------- |
| 7 | |
| 8 | Third party tests are tests for non native OpenStack APIs that are |
| 9 | part of OpenStack projects. If we ship an API, we're really required |
| 10 | to ensure that it's working. |
| 11 | |
| 12 | An example is that Nova Compute currently has EC2 API support in tree, |
| 13 | which should be tested as part of normal process. |
| 14 | |
| 15 | |
| 16 | Why are these tests in tempest? |
| 17 | -------- |
| 18 | |
| 19 | If we ship an API in an OpenStack component, there should be tests in |
| 20 | tempest to exercise it in some way. |
| 21 | |
| 22 | |
| 23 | Scope of these tests |
| 24 | -------- |
| 25 | |
| 26 | Third party API testing should be limited to the functional testing of |
| 27 | third party API compliance. Complex scenarios should be avoided, and |
| 28 | instead exercised with the OpenStack API, unless the third party API |
| 29 | can't be tested without those scenarios. |
| 30 | |
| 31 | Whenever possible third party API testing should use a client as close |
| 32 | to the third party API as possible. The point of these tests is API |
| 33 | validation. |