[tempest] change output format
Hello. 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.
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). -- Jeremy Stanley
participants (2)
-
Jeremy Stanley
-
Vladimir Prokofev