skillfed

robotframework-retryfailed

A listener to automatically retry tests or tasks based on flags.

robotframework-retryfailed v0.2.0 483.4K downloads/30d#6,413 on PyPI19
Permissive license AGING released

What it is and what it does

robotframework-retryfailed is a listener plugin for Robot Framework that intercepts test failures and automatically reruns them based on retry configuration. You attach it to your test execution via command-line arguments and control retry behavior either globally (by passing a retry count to the listener) or per-test (by tagging individual tests with `test:retry(N)` or `task:retry(N)` to specify how many times they should be retried on failure).

The package is minimal and focused: it depends only on robotframework itself and requires Python 3.8 or later. It is useful for handling flaky tests in continuous integration or local test runs without modifying test code. However, the package has not been updated since its initial release in October 2022, so you should verify compatibility with your current Robot Framework version before adopting it.

Use it for:

  • Automatically retry flaky integration tests in CI pipelines without modifying test code.
  • Tag specific tests with `test:retry(3)` to retry them up to 3 times on failure.
  • Set a global retry count via `--listener RetryFailed:2` to retry all failing tests uniformly.
  • Handle transient failures in acceptance tests caused by timing or external service issues.
  • Reduce false negatives in test suites by distinguishing between real failures and intermittent flakes.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Robot Framework listener that automatically retries failed tests or tasks based on tags or a global retry count parameter.

Yes, if your Robot Framework version is compatible and you need automatic retry logic without modifying test code. The low install friction and permissive license make it a low-risk addition. However, the lack of updates since October 2022 is a concern—verify that it works with your current Robot Framework version before committing to it in production.

Install

robotframework-retryfailed on PyPI

pip

pip install robotframework-retryfailed

uv

uv add robotframework-retryfailed

poetry

poetry add robotframework-retryfailed

Installing robotframework-retryfailed

Before you install

Low install friction with a single runtime dependency on robotframework. The package is aging—last release was in October 2022 with no updates since—but the repository remains active and unarchived as of December 2025.

License in practice

Licensed under Apache Software License (permissive), which allows use, modification, and distribution with minimal restrictions.

Quickstart

pip install robotframework-retryfailed

robot --listener RetryFailed:2

*** Test Cases ***
Test Case
    [Tags]    test:retry(2)
    Log    This test will be retried 2 times if it fails

Requires robotframework to be installed and Python 3.8 or later.

Verify before relying

  • Whether the package works with Robot Framework versions released after October 2022.
  • Current compatibility with Python 3.10, 3.11, or 3.12 despite classifiers listing only 3.8 and 3.9.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.8.0)
Install friction low — pure-Python wheel
Runtime dependencies 1 — robotframework
Maintenance aging — 1,405 days since the last release
Last repo commit
First released
Downloads 483,414/month — #6,413 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: robotframework_retryfailed-0.2.0-py3-none-any.whl

Framework :: Robot FrameworkLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: TestingTopic :: Software Development :: Testing :: Acceptance

Tags

robot framework retry failed teststest retry listenerautomatic test retryrobot framework flaky test handlingretry on failure robottest retry tagsrobot framework resilience
robot-frameworktest-resilienceflaky-test-handling

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

robotframework-stacktrace

A Robot Framework listener that prints stack…

permissive · top 15,000 on PyPI

robotframework-dependencylibrary

Declares and enforces dependencies between…

permissive · top 15,000 on PyPI

pytest-retry

pytest-retry is a pytest plugin that…

permissive · top 5,000 on PyPI

robotframework-reportportal

A RobotFramework listener that sends test…

unclear · top 15,000 on PyPI

allure-robotframework

Integrates Robot Framework test execution with…

permissive · top 15,000 on PyPI

pytest-rerunfailures

A pytest plugin that automatically reruns…

copyleft · top 1,000 on PyPI

robotframework

Robot Framework is a generic open-source…

permissive · top 5,000 on PyPI

flaky

A pytest plugin that automatically reruns…

permissive · top 5,000 on PyPI

httpx-retries

Adds automatic request retry logic to HTTPX,…

permissive · top 5,000 on PyPI

pytest-repeat

A pytest plugin that repeats test execution a…

copyleft · top 5,000 on PyPI