smarie / python-pytest-harvest

Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
https://smarie.github.io/python-pytest-harvest/
BSD 3-Clause "New" or "Revised" License
61 stars 8 forks source link

Can it support pytest-parallel #55

Open EitanBe opened 2 years ago

EitanBe commented 2 years ago

Do you have a future plan to support pytest-parallel Thank you!

smarie commented 2 years ago

Hi @EitanBe , thanks for asking ! Currently the lib supports pytest-xdist only. Since all workers live in separate processes the current way to "regroup" the results is to use disk.

I do not know enough the differences between pytest-parallel and pytest-xdist to be able to tell if that solution should apply too here. Whatever the solution (similar or different than what is done for xdist) I would be happy to review a corresponding PR if you would like to have a look.

smarie commented 2 years ago

@EitanBe , is this topic still of interest ? Did you make any progress ?