Closed jun-x-nova closed 8 months ago
I wasn't even able to run the tests with pytest-xdist. I posted the issue in https://github.com/pytest-dev/pytest-xdist/issues/1038 and pytest-xdist dev responded with:
Pytest-bdd Lacks a report serialize/deserialize Hook to handle its data This is a pytest-bdd issue
Only way I was able to run in parallel is using pytest-parallel, but its very old and seems to be no longer supported. I think this issue is critical, parallel execution is a basic need.
@jun-x-nova can you share the OS, Python version and your project's requirements?
Hi, pytest-bdd works with pytest-xdist, we also have a test for it. If it doesn't work for you, please provide a MCVE so that I can debug the issue.
~I even tried reproducing the issue installing py3.7, pytest==7.4.3, pytest-bdd==6.1.1, pytest-xdist==3.5.0, but I don't see any error.~ EDIT: this doesn't belong here, it's about pytest-dev/pytest-xdist#1038.
Closing this unless more info is provided.
Running pytest-bdd (selenium script) in parallel with pytest-xdist does not collect the results in the report.