implement a --failed option for pytest
pytest plugin to implement a --failed option
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.
The only downside is that pytest-cache depends on execnet, whereas pytest-runfailed is standalone.
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.