Skip to content

Discussion: Parallel test execution with pytest-xdist #38

@elijahr

Description

@elijahr

bigfoot uses ContextVar for interaction isolation per test. pytest-xdist runs tests in separate processes, while pytest-parallel may run them in threads.

Questions to investigate:

  • Does bigfoot work correctly under pytest-xdist (separate processes)?
  • Are there thread-safety issues with pytest-parallel?
  • Should we document limitations, add explicit support, or both?
  • What's the recommended parallel test strategy for bigfoot users?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionOpen-ended discussion about project directionhelp wantedExtra attention is needed

    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