Pytest tool for persistent objects
Project description
# 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pytest_persistence-0.1.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ba97c9324e3611f82303a52a3763f7e96f2dc4001e74758cbc50bd0ebe96e23 |
|
MD5 | 5da36de4c538e3279e0942a0f62dd849 |
|
BLAKE2b-256 | e8667bd27f4c0a22b8ed8ca5bdc481b80dd0e336f84411eb880bf45e77f6afc5 |
Close
Hashes for pytest_persistence-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1726f14fc864619c8df3a3535586aa794be5ea524789cce38a30d3c14cbd0a54 |
|
MD5 | 2e8634a339d28966f2c06cafc8965db0 |
|
BLAKE2b-256 | cf50a3980aaf8b0f137e7961eb605ca06cc274a7b81a65c7e1499f05b360723e |