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 details)

Uploaded Source

Built Distribution

File details

Details for the file robotframework-retryfailed-0.1.0.tar.gz.

File metadata

File hashes

Hashes for robotframework-retryfailed-0.1.0.tar.gz
Algorithm Hash digest
SHA256 18e56a03a5dab71107c7b0862ec9f4995c1dcb78c6de4d92224542365456a25d
MD5 9c2bf910f0bf285503f69912a597dd17
BLAKE2b-256 b7a1e1189634c771a51d098033a1bf926246bb94a774f40c66e3557ff12884a2

See more details on using hashes here.

File details

Details for the file robotframework_retryfailed-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_retryfailed-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d152fb374e774df0a43c24d4f6774cd8283c283770040d8e3e0ba9a00c7f1e73
MD5 d1426eb093521e90c2fdb861b916a14c
BLAKE2b-256 24458044222f8a949f86edab16aae65233da1a683c1409e298968ca7d8b6fa99

See more details on using hashes here.

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