Skip to main content

Collects and executes pytest tests separately

Project description

pytest-CleanSlate: work around test state pollution

by Juan Altmayer Pizzorno and Emery Berger at UMass Amherst's PLASMA lab.

license pypi Downloads pyversions tests

About

pytest-cleanslate is a small plugin for the pytest test framework which, as the name implies, helps give each test module a "clean slate" to execute. Plugins such as pytest-forked and pytest-isolate allow you to execute tests in separate processes, working around in-memory test "state pollution" resulting from their execution, but do not protect against pollution caused by top-level code in test modules. This is what pytest-CleanSlate remedies.

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_cleanslate-1.0.1.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_cleanslate-1.0.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file pytest_cleanslate-1.0.1.tar.gz.

File metadata

  • Download URL: pytest_cleanslate-1.0.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pytest_cleanslate-1.0.1.tar.gz
Algorithm Hash digest
SHA256 d31ea1298e95fd0cf4aedde65f898af33e38799c166134b163c2cadea7632818
MD5 3156bcb1b4a356699dd342107d7614b8
BLAKE2b-256 1f0778aa5f653ddcbea02aa28e6fd42f128569a425e5e47b732be4493aa3a55b

See more details on using hashes here.

File details

Details for the file pytest_cleanslate-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_cleanslate-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b5e3fc986502b9d552286da7ccd4d17c7a5b061c3c6bd086e3067b3e3e27a3e
MD5 13eb0f867c523aaef898b8cd71c0e060
BLAKE2b-256 5cb2d3c9e23ec3d10d13760d42b8314ee4d13a85baf8806c6dbcbfd91a37e432

See more details on using hashes here.

Supported by

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