blob: 8ab88eb4f00175ef78e1c165333f26ad23321a58 [file] [log] [blame]
Dmitry Tantsura068e662017-12-21 11:14:43 +01001=====
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -05002Usage
Dmitry Tantsura068e662017-12-21 11:14:43 +01003=====
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -05004
Dmitry Tantsura068e662017-12-21 11:14:43 +01005Configuring
6-----------
Jim Rollenhagen4f8f2292016-11-18 06:22:18 -05007
Dmitry Tantsura068e662017-12-21 11:14:43 +01008Update your `Tempest configuration`_ to enable support for ironic:
9
10.. code-block:: ini
11
12 [service_enabled]
13 ironic = True
14
15If introspection tests are needed, also enable support for ironic-inspector:
16
17.. code-block:: ini
18
19 [service_enabled]
20 ironic_inspector = True
21
22.. TODO(dtantsur): I'm pretty sure more configuration is required, fill it in
23
24.. _Tempest configuration: https://docs.openstack.org/tempest/latest/configuration.html
25
26Running
27-------
28
29Run tests as described in the `Tempest documentation`_. The following patterns
30can be used with ``--regex`` option to only run bare metal tests:
31
32``ironic``
33 all bare metal tests
34``ironic_standalone``
35 standalone bare metal tests that do not use the Compute service
36``InspectorBasicTest``
37 basic introspection tests
38``InspectorDiscoveryTest``
39 introspection auto-discovery tests
40
41.. _Tempest documentation: https://docs.openstack.org/tempest/latest/run.html