Add global session uuid (fixes #524)

This commit is contained in:
Sven-Hendrik Haase
2020-04-29 04:32:36 +02:00
parent 453cbd88dd
commit 2183d741bb
9 changed files with 114 additions and 7 deletions

2
changelog/524.feature Normal file
View File

@@ -0,0 +1,2 @@
Add `testrun_uid` fixture. This is a shared value that uniquely identifies a test run among all workers.
This also adds a `PYTEST_XDIST_TESTRUNUID` environment variable that is accessible within a test as well as a command line option `--testrunuid` to manually set the value from outside.