Dmitry Tantsur | a068e66 | 2017-12-21 11:14:43 +0100 | [diff] [blame] | 1 | ===== |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 2 | Usage |
Dmitry Tantsur | a068e66 | 2017-12-21 11:14:43 +0100 | [diff] [blame] | 3 | ===== |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 4 | |
Dmitry Tantsur | a068e66 | 2017-12-21 11:14:43 +0100 | [diff] [blame] | 5 | Configuring |
| 6 | ----------- |
Jim Rollenhagen | 4f8f229 | 2016-11-18 06:22:18 -0500 | [diff] [blame] | 7 | |
Dmitry Tantsur | a068e66 | 2017-12-21 11:14:43 +0100 | [diff] [blame] | 8 | Update your `Tempest configuration`_ to enable support for ironic: |
| 9 | |
| 10 | .. code-block:: ini |
| 11 | |
| 12 | [service_enabled] |
| 13 | ironic = True |
| 14 | |
| 15 | If introspection tests are needed, also enable support for ironic-inspector: |
| 16 | |
| 17 | .. code-block:: ini |
| 18 | |
| 19 | [service_enabled] |
| 20 | ironic_inspector = True |
| 21 | |
Dmitry Tantsur | ea9af86 | 2018-03-14 16:48:48 +0100 | [diff] [blame] | 22 | See the following example configurations for more details: |
| 23 | |
| 24 | .. toctree:: |
| 25 | :maxdepth: 1 |
| 26 | |
| 27 | config/with-nova |
| 28 | |
| 29 | .. TODO(dtantsur): cover standalone tests |
Dmitry Tantsur | a068e66 | 2017-12-21 11:14:43 +0100 | [diff] [blame] | 30 | |
| 31 | .. _Tempest configuration: https://docs.openstack.org/tempest/latest/configuration.html |
| 32 | |
| 33 | Running |
| 34 | ------- |
| 35 | |
| 36 | Run tests as described in the `Tempest documentation`_. The following patterns |
| 37 | can be used with ``--regex`` option to only run bare metal tests: |
| 38 | |
| 39 | ``ironic`` |
| 40 | all bare metal tests |
| 41 | ``ironic_standalone`` |
| 42 | standalone bare metal tests that do not use the Compute service |
| 43 | ``InspectorBasicTest`` |
| 44 | basic introspection tests |
| 45 | ``InspectorDiscoveryTest`` |
| 46 | introspection auto-discovery tests |
| 47 | |
| 48 | .. _Tempest documentation: https://docs.openstack.org/tempest/latest/run.html |