[tempest] change output format
fungi at yuggoth.org
Tue Sep 7 13:29:53 UTC 2021
On 2021-09-07 10:40:34 +0300 (+0300), Vladimir Prokofev wrote:
> Is there a way to change the output format of tempest tests?
> Preferably to JSON. So instead of test something... ok it produced
> the same result but in JSON format.
Tempest produces a subunit stream with details of all the tests
performed. This is a standard data exchange format for test results,
which can be readily parsed with a library like
https://pypi.org/project/python-subunit/ after which serializing to
JSON would presumably be a trivial exercise (or just consume the
subunit stream directly if the desire was merely to use JSON for
programmatic parsing, that's what the subunit is for anyway).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: not available
More information about the openstack-discuss