From 74a68b5ec676335221275587ea328a45da022727 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 27 Jan 2016 19:57:11 -0200 Subject: [PATCH] Add CHANGELOG and docs for #1345 --- CHANGELOG.rst | 4 ++++ doc/en/cache.rst | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e1a8b1588..4146f71a9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -45,6 +45,10 @@ found in the environment, even when -vv isn't used. Thanks `@The-Compiler`_ for the PR. +* ``--lf`` and ``--ff`` now support long names: ``--last-failed`` and + ``--failed-first`` respectively. + Thanks `@MichaelAquilina`_ for the PR. + **Bug Fixes** diff --git a/doc/en/cache.rst b/doc/en/cache.rst index 3c3b5eb22..c04b98fbb 100644 --- a/doc/en/cache.rst +++ b/doc/en/cache.rst @@ -17,8 +17,8 @@ Usage The plugin provides two command line options to rerun failures from the last ``py.test`` invocation: -* ``--lf`` (last failures) - to only re-run the failures. -* ``--ff`` (failures first) - to run the failures first and then the rest of +* ``--lf``, ``--last-failed`` - to only re-run the failures. +* ``--ff``, ``--failed-first`` - to run the failures first and then the rest of the tests. For cleanup (usually not needed), a ``--cache-clear`` option allows to remove