{"id":28452924,"url":"https://github.com/marketsquare/robotframework-retryfailed","last_synced_at":"2026-02-27T10:14:28.692Z","repository":{"id":61113883,"uuid":"548413107","full_name":"MarketSquare/robotframework-retryfailed","owner":"MarketSquare","description":"A listener to automatically retry tests or tasks based on tags.","archived":false,"fork":false,"pushed_at":"2025-04-15T09:39:28.000Z","size":21,"stargazers_count":17,"open_issues_count":9,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-24T01:27:53.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarketSquare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-09T14:17:21.000Z","updated_at":"2025-04-15T09:39:32.000Z","dependencies_parsed_at":"2025-04-15T10:29:11.963Z","dependency_job_id":"e3fe9ddb-872b-4d2f-98e6-d81318d5b366","html_url":"https://github.com/MarketSquare/robotframework-retryfailed","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/MarketSquare/robotframework-retryfailed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-retryfailed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-retryfailed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-retryfailed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-retryfailed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarketSquare","download_url":"https://codeload.github.com/MarketSquare/robotframework-retryfailed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-retryfailed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001867,"owners_count":26083197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-06T18:13:10.310Z","updated_at":"2025-10-09T17:41:03.384Z","avatar_url":"https://github.com/MarketSquare.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# robotframework-retryfailed\n\nA listener to automatically retry tests or tasks based on tags.\n\n## Installation\n\nInstall with pip:\n\n    pip install robotframework-retryfailed\n\n## Usage\n\nAdd the listener to your robot execution, via command line arguments.\nWhen your tests do fail and you have tagged them with `test:retry(2)`, it will retry the test 2 times.\nRetry can be also set globally as a parameter to the listener.\n\n### Attaching Listener\n\nExample:\n\n    robot --listener RetryFailed \u003cyour robot suite\u003e\n\n    robot --listener RetryFailed:1 \u003crobot suite\u003e\n\nSecond one will by default retry once every failing test.\n\n### Tagging Tests\n\nExample:\n\n    *** Test Cases ***\n    Test Case\n        [Tags]    test:retry(2)\n        Log    This test will be retried 2 times if it fails\n\nTagging tasks by `task:retry(3)` should also work.\n\n### Configuration\n\nOn top of specifying the number of retries, you can also define whether your want to **keep the logs** of the retried tests and change the **log level** when retrying, by providing respectfully second and third parameter to the listener: `RetryFailed:\u003cglobal_retries\u003e:\u003ckeep_retried_tests\u003e:\u003clog_level\u003e`\n\nBy default the logs of the retried tests are not kept, and the log level remains the same as the regular run.\n\nExample:\n\n    # keep the logs of the retried tests\n    robot --listener RetryFailed:1:True\n\n    # does not keep the logs of the retried tests and change log level to DEBUG when retrying\n    robot --listener RetryFailed:2:False:DEBUG\n\n    # keep the logs of the retried tests and change the log level to TRACE when retrying\n    robot --listener RetryFailed:1:True:TRACE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketsquare%2Frobotframework-retryfailed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarketsquare%2Frobotframework-retryfailed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarketsquare%2Frobotframework-retryfailed/lists"}