Skip to main content

pytest plugin to implement a --failed option

Warning

This project is no longer maintained.

If you are using pytest >= 2.8 you don’t need to install anything, since the functionality has been added to pytest core

If you are using pytest <= 2.7 you should use use pytest-cache instead.

  • It provides the same feature with --lf instead of --failed (which is shorter)

  • It’s developed by the original author of pytest (Holger Krekel)

  • It has more features

  • It does not use pickle for storing data so it’s safe to use across different versions of Python

The only downside is that pytest-cache depends on execnet, whereas pytest-runfailed is standalone.

Usage

Just run

py.test --failed

You’ll need to run the full suite once before the option --failed can work.

The failing tests ids are stored into a .pytest directory, just remove it if you experience issues.

Metadata

Release files for pytest-runfailed 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-runfailed 0.6
File Size Uploaded Provenance Actions
pytest-runfailed-0.6.tar.gz 2.2 kB Without provenance Details for pytest-runfailed-0.6.tar.gz

Release files / pytest-runfailed-0.6.tar.gz

Download URL pytest-runfailed-0.6.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
82ab0740355ecde835d9754bcc510d6993e0b89d71d109894d1d6fbfeb9c222a
BLAKE2b-256 checksum
How to use checksums
37fe4e6faaeb3edc5db01f30ba6b77c263b62cda988d2cacd10289fb139c99fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pytest-runfailed 0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6 This release

1 release file No provenance

0.4

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page