robotframework-retryfailed
A listener to automatically retry tests or tasks based on tags.
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.
Retry can be also set globally as a parameter to the listener.
Attaching Listener
Example:
robot --listener RetryFailed <your robot suite>
robot --listener RetryFailed:1 <robot suite>
Second one will by default retry once every failing test.
Tagging Tests
Example:
*** Test Cases ***
Test Case
[Tags] test:retry(2)
Log This test will be retried 2 times if it fails
Tagging tasks by task:retry(3) should also work.
Metadata
Release files for robotframework-retryfailed 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotframework-retryfailed-0.2.0.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_retryfailed-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / robotframework-retryfailed-0.2.0.tar.gz
| Download URL | robotframework-retryfailed-0.2.0.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c134a924f480e2666916bcb019a7e255d7229bc51a3747e849bd1e7931ed6eb3
|
|
BLAKE2b-256 checksum How to use checksums |
4b994ffc2253cbff664c93f4fe63663a0d0a68862c7bbe40aea6f324fd371ef3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|
Release files / robotframework_retryfailed-0.2.0-py3-none-any.whl
| Download URL | robotframework_retryfailed-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b389dadb446a4d7356d7e953aabfdf2b0497d51df11d3da80abe9d4a8a0992c3
|
|
BLAKE2b-256 checksum How to use checksums |
2480144bca38aa894ec876f7943d3fd62fa57d9be937cc0be9e5d7e3df9837e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.0
|