[pytest-dev] pytest-cache 1.0: new --ff option to first run previous failures

holger krekel holger at merlinux.eu
Tue Jun 4 21:29:06 CEST 2013


i just release pytest-cache-1.0 to pypi which allows to
re-run failures from previous test runs and provides a
mechanism for other plugins to store data across test session
(used e.g. by pytest-pep8). See


for some docs.  The main news is the "--ff" option which runs
all tests but first the failures from the last run. 
Thanks to Jack Riches for the patch.  Full Changelog below.



- merged "--ff" (failedfirst) option to run all tests but
  run the last-failed ones first. Thanks Jack Riches.

- fix issue6 - --clearcache doesn't bail out if .cache doesn't exist,
  thanks longlho

- fix issue4: consider setup time skip of a previous failure as no
  longer failing

- ensure --cache output is sorted

More information about the Pytest-dev mailing list