# vedro-lazy-rerunner
Rerunner plugin for the [Vedro](https://vedro.io/) testing framework.
Reruns failed scenarios until the first pass otherwise the specified number of times.
# Installation
1. Install the package using pip:
```shell
$ pip3 install vedro-lazy-rerunner
```
2. Next, activate the plugin in your vedro.cfg.py configuration file:
```python
# ./vedro.cfg.py
import vedro
import vedro_lazy_rerunner
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class LazyRerunner(vedro_lazy_rerunner.LazyRerunner):
enabled = True
```
# Usage
```shell
$ vedro run --lazy-reruns=5
```
Raw data
{
"_id": null,
"home_page": "https://github.com/kvs8/vedro-lazy-rerunner",
"name": "vedro-lazy-rerunner",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Konstantin Shefer",
"author_email": "kostya.shefer.999@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a7/0f/55a7942b48004f2c3cae955433f12485cdcb989898b6853979b843058f34/vedro-lazy-rerunner-0.1.0.tar.gz",
"platform": null,
"description": "# vedro-lazy-rerunner\nRerunner plugin for the [Vedro](https://vedro.io/) testing framework. \nReruns failed scenarios until the first pass otherwise the specified number of times.\n\n# Installation\n\n1. Install the package using pip:\n```shell\n$ pip3 install vedro-lazy-rerunner\n```\n\n2. Next, activate the plugin in your vedro.cfg.py configuration file:\n```python\n# ./vedro.cfg.py\nimport vedro\nimport vedro_lazy_rerunner\n\nclass Config(vedro.Config):\n\n class Plugins(vedro.Config.Plugins):\n\n class LazyRerunner(vedro_lazy_rerunner.LazyRerunner):\n enabled = True\n```\n\n# Usage\n```shell\n$ vedro run --lazy-reruns=5\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "vedro-lazy-rerunner package",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/kvs8/vedro-lazy-rerunner"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "512a8b806fb206840c5055cc5a96b0b86a771d6c09218afd5883703e97347789",
"md5": "90123344a391efff41eb6fc47dc05b03",
"sha256": "180550e4b0c38cd4f58ad8ffc5a93163f3dc35b814146cff0d3562e11e3a0b81"
},
"downloads": -1,
"filename": "vedro_lazy_rerunner-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "90123344a391efff41eb6fc47dc05b03",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7466,
"upload_time": "2023-11-03T07:44:50",
"upload_time_iso_8601": "2023-11-03T07:44:50.310701Z",
"url": "https://files.pythonhosted.org/packages/51/2a/8b806fb206840c5055cc5a96b0b86a771d6c09218afd5883703e97347789/vedro_lazy_rerunner-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a70f55a7942b48004f2c3cae955433f12485cdcb989898b6853979b843058f34",
"md5": "01fb882417b1c16af2e4c04628337dab",
"sha256": "fa1eeec4e91eea091ffe702282b8246c116213835bed6c725c5119d7ce9b6831"
},
"downloads": -1,
"filename": "vedro-lazy-rerunner-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "01fb882417b1c16af2e4c04628337dab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7942,
"upload_time": "2023-11-03T07:44:51",
"upload_time_iso_8601": "2023-11-03T07:44:51.857750Z",
"url": "https://files.pythonhosted.org/packages/a7/0f/55a7942b48004f2c3cae955433f12485cdcb989898b6853979b843058f34/vedro-lazy-rerunner-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-03 07:44:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kvs8",
"github_project": "vedro-lazy-rerunner",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "vedro",
"specs": [
[
"<",
"2.0"
],
[
">=",
"1.10"
]
]
}
],
"lcname": "vedro-lazy-rerunner"
}