When my test runner starts, I want to set some stuff up (adjust sys.path, add some environment variables, start some global fixtures). What hook can I use to make these changes in each xdist process that is spawned?
I've tried overloading a couple of the normal pytest hooks, but they are run before the subprocesses are launched.
Aucun commentaire:
Enregistrer un commentaire