Skip to content

Include reruns in -ra/-rA short test summary - #373

Merged
icemac merged 3 commits into
pytest-dev:masterfrom
LouisDeconinck:issue-45-ra-reruns
Oct 7, 2026
Merged

icemac merged 3 commits into
pytest-dev:masterfrom
LouisDeconinck:issue-45-ra-reruns

Conversation

@LouisDeconinck

@LouisDeconinck LouisDeconinck commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • -ra/-rA ("all") now shows the rerun test summary info section, without requiring -rR
  • pytest expands the a/A reportchars before they reach the terminal reporter, so the plugin now checks the raw -r option for a/A in addition to the explicit r/R

Closes #45

Test plan

  • Added parametrized test covering -ra and -rA producing the rerun summary section
  • Existing -rR summary tests still pass

pytest expands the "a"/"A" reportchars before they reach the terminal
reporter, so the plugin's rerun summary was never shown for `pytest -ra`.
Check the raw -r option for a/A as well as the explicit r/R.

Closes pytest-dev#45.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Comment thread src/pytest_rerunfailures.py
@icemac
icemac merged commit 01fd226 into pytest-dev:master Oct 7, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rerun tests are not reported with "all" setting

2 participants