Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_persistence-0.1.11.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

pytest_persistence-0.1.11-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page