You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use the flag while running with xdist then you'll get no statistics. This is presumably because the tests are running in a different process than the collector, so the data isn't getting communicated back.
To reproduce e.g. run pytest --hypothesis-show-statistics tests/cover/test_testdecorators.py, which will use the default Hypothesis configuration and run with two child runners and show no statistics.
The text was updated successfully, but these errors were encountered:
It looks like we'll need to write some special-case logic to pass the report string back to the master instance when running under xdist, and probably also to receive the data. See e.g. the hook docs and xdist/workermanage.py as starting points.
Update: the reporting quoted above works just fine; it was relying on the global gathered_statistics dict that broke our reporting under xdist. PR incoming.
If you use the flag while running with xdist then you'll get no statistics. This is presumably because the tests are running in a different process than the collector, so the data isn't getting communicated back.
To reproduce e.g. run
pytest --hypothesis-show-statistics tests/cover/test_testdecorators.py, which will use the default Hypothesis configuration and run with two child runners and show no statistics.The text was updated successfully, but these errors were encountered: