Skip to content
Prev Previous commit
Next Next commit
docs: Add a bit more to the doc for --lfnf
  • Loading branch information
seanjedi committed Aug 28, 2023
commit e431b8e69d6ebf0fc2407d2a142da6a8cc424ce1
4 changes: 2 additions & 2 deletions doc/en/how-to/cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ failures or when no cached ``lastfailed`` data was found.

.. code-block:: bash

pytest --last-failed --last-failed-no-failures all # run the full test suite again (default behavior)
pytest --last-failed --last-failed-no-failures none # runs no tests, emits a message about no known failures and exits successfully
pytest --last-failed --last-failed-no-failures all # when there are no known test failures, runs the full test suite again (default behavior)
pytest --last-failed --last-failed-no-failures none # when there are no known test failures, runs no tests, emits a message about no known failures and exits successfully

The new config.cache object
--------------------------------
Expand Down