Skip to content

Aggregate pass/fail summary correctly under pytest-xdist #11

Description

@iamfaham

Context. Passing asserts currently print via print(), which pytest-xdist swallows per-worker, so there's no aggregated PASS/FAIL summary when running under -n auto.

Proposed. Hook into pytest's terminal summary (pytest_terminal_summary) to aggregate agentsnap results across xdist workers instead of relying on captured stdout.

Source: internal backlog, deferred since iteration 6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions