Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-re
Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand.
Install
npx skills add https://github.com/agentskillexchange/skills/tree/main/skills/automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install agentskillexchange-skills@llmmart
git clone https://github.com/agentskillexchange/skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole agentskillexchange/skills collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-rerunfailures
Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand.
Prerequisites
Python, pytest, and the pytest-rerunfailures plugin
Installation
Use the upstream install or setup path that matches your environment:
- $ pip install pytest-rerunfailures
Requirements and caveats from upstream:
- :target: https://pypi.python.org/pypi/pytest-rerunfailures/
- You will need the following prerequisites in order to use pytest-rerunfailures:
- Python 3.10+ or PyPy3
Basic usage or getting-started notes:
pytest 8.1 or newer
This plugin can recover from a hard crash with the following optional
Extracted from upstream docs: https://raw.githubusercontent.com/pytest-dev/pytest-rerunfailures/HEAD/README.rst
Documentation
Source
Files (skills)
-
SKILL.md 2.1 KB
--- name: "Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-rerunfailures" slug: "automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures" description: "Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand." github_stars: 458 verification: "security_reviewed" source: "https://github.com/pytest-dev/pytest-rerunfailures" author: "pytest-dev" publisher_type: "organization" category: "CI/CD Integrations" framework: "Multi-Framework" tool_ecosystem: github_repo: "pytest-dev/pytest-rerunfailures" github_stars: 458 npm_package: "pytest-rerunfailures" npm_weekly_downloads: 0 --- # Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-rerunfailures Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand. ## Prerequisites Python, pytest, and the pytest-rerunfailures plugin ## Installation Use the upstream install or setup path that matches your environment: - $ pip install pytest-rerunfailures Requirements and caveats from upstream: - :target: https://pypi.python.org/pypi/pytest-rerunfailures/ - You will need the following prerequisites in order to use pytest-rerunfailures: - Python 3.10+ or PyPy3 Basic usage or getting-started notes: - ------------ - pytest 8.1 or newer - This plugin can recover from a hard crash with the following optional - Source: https://github.com/pytest-dev/pytest-rerunfailures - Extracted from upstream docs: https://raw.githubusercontent.com/pytest-dev/pytest-rerunfailures/HEAD/README.rst ## Documentation - https://pytest-rerunfailures.readthedocs.io/stable/ ## Source - [Agent Skill Exchange](https://agentskillexchange.com/skills/automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures/)
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.