Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
robotframework-retryfailed
Advanced tools
A listener to automatically retry tests or tasks based on tags.
Install with pip:
pip install robotframework-retryfailed
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.
Example:
robot --listener RetryFailed <your robot suite>
robot --listener RetryFailed:1 <robot suite>
Second one will by default retry once every failing test.
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.
FAQs
A listener to automatically retry tests or tasks based on flags.
We found that robotframework-retryfailed demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.