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
# 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:
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.
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.
This pytest plugin was generated with Cookiecutter along with @hackebrot's cookiecutter-pytest-plugin template.
Metadata
Release files for pytest-store 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_store-0.0.6.tar.gz | 12.3 kB | Without provenance | Details for pytest_store-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_store-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for pytest_store-0.0.6-py3-none-any.whl |
Total release size: 27.1 kB
Release files / pytest_store-0.0.6.tar.gz
| Download URL | pytest_store-0.0.6.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e030cb486cab38fc427193fca504da6041161107e1e80715d2ea335fa169ff88
|
|
BLAKE2b-256 checksum How to use checksums |
ffe78fddea4c8cf0d8fcf0e662f7f53ac543d4dd939912d646569d656248a31f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-64-generic
|
Release files / pytest_store-0.0.6-py3-none-any.whl
| Download URL | pytest_store-0.0.6-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
041d84ba1d1f18283704f2b895c1d2f0231b099b2da4a74a7d0e4d0529a34f6f
|
|
BLAKE2b-256 checksum How to use checksums |
5cb7ebbf63ebbf4846b4667fa3b0fabbd5043acb98a5f2ef14ba511224fab84f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.12.3 Linux/6.8.0-64-generic
|
Security for pytest-store 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.