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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file robotframework-retryfailed-0.1.0.tar.gz
.
File metadata
- Download URL: robotframework-retryfailed-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e56a03a5dab71107c7b0862ec9f4995c1dcb78c6de4d92224542365456a25d |
|
MD5 | 9c2bf910f0bf285503f69912a597dd17 |
|
BLAKE2b-256 | b7a1e1189634c771a51d098033a1bf926246bb94a774f40c66e3557ff12884a2 |
File details
Details for the file robotframework_retryfailed-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: robotframework_retryfailed-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d152fb374e774df0a43c24d4f6774cd8283c283770040d8e3e0ba9a00c7f1e73 |
|
MD5 | d1426eb093521e90c2fdb861b916a14c |
|
BLAKE2b-256 | 24458044222f8a949f86edab16aae65233da1a683c1409e298968ca7d8b6fa99 |