docs: changing some docs for last-failed-no-failures
to better explain functionality
This commit is contained in:
parent
00fedcc439
commit
b98d293fc0
1
AUTHORS
1
AUTHORS
|
@ -336,6 +336,7 @@ Samuele Pedroni
|
|||
Sanket Duthade
|
||||
Sankt Petersbug
|
||||
Saravanan Padmanaban
|
||||
Sean Malloy
|
||||
Segev Finer
|
||||
Serhii Mozghovyi
|
||||
Seth Junot
|
||||
|
|
|
@ -1892,8 +1892,9 @@ All the command-line flags can be obtained by running ``pytest --help``::
|
|||
tests. Optional argument: glob (default: '*').
|
||||
--cache-clear Remove all cache contents at start of test run
|
||||
--lfnf={all,none}, --last-failed-no-failures={all,none}
|
||||
Which tests to run with no previously (known)
|
||||
failures
|
||||
Determines whether to execute tests when there
|
||||
are no previously (known) failures or when no
|
||||
cached ``lastfailed`` data was found
|
||||
--sw, --stepwise Exit on test failure and continue from last failing
|
||||
test next time
|
||||
--sw-skip, --stepwise-skip
|
||||
|
|
|
@ -499,7 +499,8 @@ def pytest_addoption(parser: Parser) -> None:
|
|||
dest="last_failed_no_failures",
|
||||
choices=("all", "none"),
|
||||
default="all",
|
||||
help="Which tests to run with no previously (known) failures",
|
||||
help="Determines whether to execute tests when there are no previously (known)"
|
||||
"failures or when no cached ``lastfailed`` data was found",
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue