Alex,
There are a couple of common ways in use for pytest results.
There is the built in --junit-xml=path
flag to create a junit-xml style report.
There are also plugins that generate different styles of reports, such as pytest-json-report
,
You can also use tox to drive pytest and generate json from it using tox --result-json=PATH
.
Hope this helps.
- Brian