Skip to content

--hypothesis-show-statistics doesn't work with pytest-xdist #700

@DRMacIver

Description

@DRMacIver

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.

Metadata

Metadata

Assignees

Labels

bugsomething is clearly wrong here

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions