Replies: 3 comments 1 reply
-
The ask is unclear, the grid tool you mentioned is unknown and pytest itself has xdist for multi machine testing There's also tools like pytest-split |
Beta Was this translation helpful? Give feedback.
-
pytest-xdist distributes on multiple CPUs, AFAIK.
It doesn't have to be known. It's just some command that send another command to run on another machine in the same folder with the same environment. This is all information that is needed about this tool. All I need is a way to prepend the command that runs the individual test. |
Beta Was this translation helpful? Give feedback.
-
Wat do you mean by results aggregation? The exit code and the printout of the command is the same. The command is sent to the remote host, otherwise almost all effects of the command remain the same. |
Beta Was this translation helpful? Give feedback.
-
I would like to parallelize PyTest jobs beyond a single machine, and to run jobs on the grid.
Is there an easy way to add a grid submission command (ex.
bsub -I -app main
) so that PyTest would prepend the command for each test with this parallelization command so that they would run remotely?Beta Was this translation helpful? Give feedback.
All reactions