# pytest-persistence
Pytest plugin for persistent fixtures.
## Installation
In a Python environment do:
python -m pip install pytest-persistence
## Usage
To store fixtures to file run tests with –store {file_path}:
python -m pytest –store {file_path}
To load fixtures from file run tests with –load {file_path}:
python -m pytest –load {file_path}
BEWARE When this plugin is in use cleanup of all the fixtures is not executed. This is necessary to successfully run tests with –load. However it is important to keep this fact in mind.
Metadata
Release files for pytest-persistence 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_persistence-0.1.11.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_persistence-0.1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.5 kB
Release files / pytest_persistence-0.1.11.tar.gz
| Download URL | pytest_persistence-0.1.11.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ba97c9324e3611f82303a52a3763f7e96f2dc4001e74758cbc50bd0ebe96e23
|
|
BLAKE2b-256 checksum How to use checksums |
e8667bd27f4c0a22b8ed8ca5bdc481b80dd0e336f84411eb880bf45e77f6afc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4
|
Release files / pytest_persistence-0.1.11-py3-none-any.whl
| Download URL | pytest_persistence-0.1.11-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1726f14fc864619c8df3a3535586aa794be5ea524789cce38a30d3c14cbd0a54
|
|
BLAKE2b-256 checksum How to use checksums |
cf50a3980aaf8b0f137e7961eb605ca06cc274a7b81a65c7e1499f05b360723e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.4
|