Skip to main content

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

Project description

robotframework-retryfailed

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

Installation

Install with pip:

pip install robotframework-retryfailed

Usage

Add the listener to your robot execution, via command line arguments. When your tests do fail and you have tagged them with test:retry(2), it will retry the test 2 times.

Attaching Listener

Example:

robot --listener RetryFailed <your robot suite>

Tagging Tests

Example:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework-retryfailed-0.1.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page