Replies: 1 comment 1 reply
-
Hi @mbalty, Short answer: it is not. You can see how pytest-xdist works in details here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a test collection mechanism which already uses parallelisation to build some caches in the parent process. These caches should then be accessible from the child processes when running the tests. It seems that pytest-xdist creates the separate processes at the beginning of the pytest run, before collection. Would it be possible to configure it so that it only starts the workers after the tests are collected? We are currently using pytest-parallel which behaves in this manner, but it is not maintained anymore and would like to migrate to pytest-xdist.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions