pytest-store


Namepytest-store JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/TBxy/pytest-store
SummaryPytest plugin to store values from test runs
upload_time2025-07-30 09:52:51
maintainerNone
docs_urlNone
authortb
requires_python<3.14,>=3.10
licenseMIT
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.14,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "tb",
    "author_email": "tb@wodore.com",
    "download_url": "https://files.pythonhosted.org/packages/3b/e6/28b6c2ae05b703087764d63a3fea2701d59ae515384ea35ef3450528fe35/pytest_store-0.0.5.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.5",
    "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": "2de551e935f125ae1ecdd8e562ba5dfab4eecbb0ae84a8a8e1312c0527a0ad5b",
                "md5": "8e9a75182d81b4c9cfe35a1c36ffdf55",
                "sha256": "f9bf4d6bca8d2457d553d1649cf49dc6c5bd8a2fe3b1d66ca151b4a4e7739b98"
            },
            "downloads": -1,
            "filename": "pytest_store-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8e9a75182d81b4c9cfe35a1c36ffdf55",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.10",
            "size": 14782,
            "upload_time": "2025-07-30T09:52:50",
            "upload_time_iso_8601": "2025-07-30T09:52:50.121164Z",
            "url": "https://files.pythonhosted.org/packages/2d/e5/51e935f125ae1ecdd8e562ba5dfab4eecbb0ae84a8a8e1312c0527a0ad5b/pytest_store-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3be628b6c2ae05b703087764d63a3fea2701d59ae515384ea35ef3450528fe35",
                "md5": "c2ca22c9b514d7e54069327b25417997",
                "sha256": "70dc0adba26351ea7a959c1540af16d41b399bf1133a8faa6a39b3d0822f5fe5"
            },
            "downloads": -1,
            "filename": "pytest_store-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c2ca22c9b514d7e54069327b25417997",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.14,>=3.10",
            "size": 12332,
            "upload_time": "2025-07-30T09:52:51",
            "upload_time_iso_8601": "2025-07-30T09:52:51.369493Z",
            "url": "https://files.pythonhosted.org/packages/3b/e6/28b6c2ae05b703087764d63a3fea2701d59ae515384ea35ef3450528fe35/pytest_store-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-30 09:52:51",
    "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"
}
        
tb
Elapsed time: 2.12572s