Closed rzegnam closed 5 years ago
Had the same issue, created a fork which solved problems with pytest-xdist for me: https://github.com/sosadchuk/pytest-json-report
If it would help you also, I will add this as pull-request to initial pytest-json-report
@rzegnam I just published a refactored version of the plugin to PyPI which is tested on xdist. Do you mind verifying whether the report is now produced as expected?
Hi, I've tried to use your tools with pytest-xdist but it seems that when running tests in parallel pytest-json-report is not working
pytest -v -n 2 [TEST_FOLDER] --json-report --json-report-file=report.json