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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytest_cleanslate-1.0.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.tar.gz
Algorithm Hash digest
SHA256 0db7852be6c3ef72335898d766258f0214e6b55812d290e25c1c0a097bcda990
MD5 cbe7fdf91857bd6a7210f29f6d6e9a15
BLAKE2b-256 a7e3ff74e8a3d3e96efe1b1066cfba02d2884548e5645845dc68f2e1ee6f8654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_cleanslate-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5408100dd7a446b98792c8888dee214e65a0c51006efd48052e741d8323e529e
MD5 170980b8d72507a973524b5384c76a98
BLAKE2b-256 ad7e14204153edb20d9bfaa2eb628e02583d078f90d097c88a64b069066ce250

See more details on using hashes here.

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