Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

implement a --failed option for pytest

Project Description

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.

Release history Release notifications

This version
History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pytest-runfailed-0.6.tar.gz (2.2 kB) Copy SHA256 hash SHA256 Source None Mar 24, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page