Name | pytest-store JSON |
Version |
0.0.3
JSON |
| download |
home_page | https://github.com/TBxy/pytest-store |
Summary | Pytest plugin to store values from test runs |
upload_time | 2024-09-04 15:34:58 |
maintainer | None |
docs_url | None |
author | tb |
requires_python | <3.13,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# pytest-store
Rerun whole testsuites for a certain time or amount
_Still under development._
## Arguments
**`--store-type <pl|pd|list-dict|none>`**
Set store type (default: installed extra)
**`--store-save <path>`**
Save file to path, format depends on the ending unless specified.
**`--store-save-format <format>`**
Save format, depends on store type.
**`--store-save-force`**
Overwrite existing file
> **NOTE:** All arguments can also be set as environment variables, e.g. `RERUN_TIME="1 hour"`, or _ini_ option, e.g. `rerun_time="10 min"`.
## Examples
```shell
# save results as polars and export to excel
pytest --store-type pl --store-save results.xls examples
```
## Installation
You can install `pytest-store` via [pip] from [PyPI] or this [repo]:
```shell
pip install pytest-store[<extra>] # extras = "all", "pandas", "polars", "database", "excel", "parquet"
pip install pytest-store[polars,excel,database]
pip install git+git@github.com:TBxy/pytest-store.git@main # latest version
pip install pytest-store --all-extras # development
```
## Todos
* SQL backend, which saves as stream
* Write tests
* Github Actions
## Contributing
Contributions are very welcome.
Tests are not ready at the moment, use the example scripts.
<!-- Tests can be run with [tox], please ensure
the coverage at least stays the same before you submit a pull request. -->
## License
Distributed under the terms of the [MIT] license, `pytest-store` is free and open source software
## Issues
If you encounter any problems, please [file an issue] along with a detailed description.
[repo]: https://github.com/TBxy/pytest-store
[Cookiecutter]: https://github.com/audreyr/cookiecutter
[@hackebrot]: https://github.com/hackebrot
[MIT]: http://opensource.org/licenses/MIT
[cookiecutter-pytest-plugin]: https://github.com/pytest-dev/cookiecutter-pytest-plugin
[file an issue]: https://github.com/TBxy/pytest-store/issues
[pytest]: https://github.com/pytest-dev/pytest
[tox]: https://tox.readthedocs.io/en/latest/
[pip]: https://pypi.org/project/pip/
[PyPI]: https://pypi.org/project/pytest-store
----
This [pytest] plugin was generated with [Cookiecutter] along with [@hackebrot]'s [cookiecutter-pytest-plugin] template.
Raw data
{
"_id": null,
"home_page": "https://github.com/TBxy/pytest-store",
"name": "pytest-store",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "tb",
"author_email": "tb@wodore.com",
"download_url": "https://files.pythonhosted.org/packages/a9/d8/331d66e841661acece4a0ceb53835af209ad5b0db43ff8ed43682e2a51f5/pytest_store-0.0.3.tar.gz",
"platform": null,
"description": "# pytest-store\nRerun whole testsuites for a certain time or amount\n\n_Still under development._\n\n## Arguments\n\n**`--store-type <pl|pd|list-dict|none>`** \nSet store type (default: installed extra)\n\n**`--store-save <path>`** \nSave file to path, format depends on the ending unless specified.\n\n**`--store-save-format <format>`** \nSave format, depends on store type.\n\n**`--store-save-force`** \nOverwrite existing file\n\n> **NOTE:** All arguments can also be set as environment variables, e.g. `RERUN_TIME=\"1 hour\"`, or _ini_ option, e.g. `rerun_time=\"10 min\"`.\n\n## Examples\n\n```shell\n# save results as polars and export to excel\npytest --store-type pl --store-save results.xls examples \n```\n\n## Installation\n\nYou can install `pytest-store` via [pip] from [PyPI] or this [repo]:\n\n```shell\npip install pytest-store[<extra>] # extras = \"all\", \"pandas\", \"polars\", \"database\", \"excel\", \"parquet\"\npip install pytest-store[polars,excel,database]\npip install git+git@github.com:TBxy/pytest-store.git@main # latest version\npip install pytest-store --all-extras # development\n```\n\n## Todos\n\n* SQL backend, which saves as stream\n* Write tests\n* Github Actions\n\n## Contributing\n\nContributions are very welcome. \nTests are not ready at the moment, use the example scripts.\n<!-- Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request. -->\n\n## License\n\nDistributed under the terms of the [MIT] license, `pytest-store` is free and open source software\n\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\n\n[repo]: https://github.com/TBxy/pytest-store\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@hackebrot]: https://github.com/hackebrot\n[MIT]: http://opensource.org/licenses/MIT\n[cookiecutter-pytest-plugin]: https://github.com/pytest-dev/cookiecutter-pytest-plugin\n[file an issue]: https://github.com/TBxy/pytest-store/issues\n[pytest]: https://github.com/pytest-dev/pytest\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/project/pytest-store\n\n----\n\nThis [pytest] plugin was generated with [Cookiecutter] along with [@hackebrot]'s [cookiecutter-pytest-plugin] template.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Pytest plugin to store values from test runs",
"version": "0.0.3",
"project_urls": {
"Changelog": "https://github.com/TBxy/pytest-store/blob/main/CHANGELOG.md",
"Homepage": "https://github.com/TBxy/pytest-store",
"Issues": "https://github.com/TBxy/pytest-store/issues",
"Repository": "https://github.com/TBxy/pytest-store"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4743ddb16369af48e96a820e2f5cf2089d09a0d87abeb011bd56194b3cf70f7b",
"md5": "17dc40aebc91839f6134a19afe6c7b42",
"sha256": "de2b772ad0cd14cf4b175bd9fb76b8ec55f758670ecf9e88022509faf947d16c"
},
"downloads": -1,
"filename": "pytest_store-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "17dc40aebc91839f6134a19afe6c7b42",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.9",
"size": 14791,
"upload_time": "2024-09-04T15:34:56",
"upload_time_iso_8601": "2024-09-04T15:34:56.975665Z",
"url": "https://files.pythonhosted.org/packages/47/43/ddb16369af48e96a820e2f5cf2089d09a0d87abeb011bd56194b3cf70f7b/pytest_store-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a9d8331d66e841661acece4a0ceb53835af209ad5b0db43ff8ed43682e2a51f5",
"md5": "8b8354896a94f953d5f79fa5ea358ff4",
"sha256": "b08d1a1ae146ad1c5509e4fc1262ae8177a3906a1f631d9f04421d0a087a424d"
},
"downloads": -1,
"filename": "pytest_store-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "8b8354896a94f953d5f79fa5ea358ff4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.9",
"size": 12755,
"upload_time": "2024-09-04T15:34:58",
"upload_time_iso_8601": "2024-09-04T15:34:58.807247Z",
"url": "https://files.pythonhosted.org/packages/a9/d8/331d66e841661acece4a0ceb53835af209ad5b0db43ff8ed43682e2a51f5/pytest_store-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-04 15:34:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TBxy",
"github_project": "pytest-store",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"appveyor": true,
"tox": true,
"lcname": "pytest-store"
}