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
|
Sanket Duthade
|
||||||
Sankt Petersbug
|
Sankt Petersbug
|
||||||
Saravanan Padmanaban
|
Saravanan Padmanaban
|
||||||
|
Sean Malloy
|
||||||
Segev Finer
|
Segev Finer
|
||||||
Serhii Mozghovyi
|
Serhii Mozghovyi
|
||||||
Seth Junot
|
Seth Junot
|
||||||
|
|
|
@ -1892,8 +1892,9 @@ All the command-line flags can be obtained by running ``pytest --help``::
|
||||||
tests. Optional argument: glob (default: '*').
|
tests. Optional argument: glob (default: '*').
|
||||||
--cache-clear Remove all cache contents at start of test run
|
--cache-clear Remove all cache contents at start of test run
|
||||||
--lfnf={all,none}, --last-failed-no-failures={all,none}
|
--lfnf={all,none}, --last-failed-no-failures={all,none}
|
||||||
Which tests to run with no previously (known)
|
Determines whether to execute tests when there
|
||||||
failures
|
are no previously (known) failures or when no
|
||||||
|
cached ``lastfailed`` data was found
|
||||||
--sw, --stepwise Exit on test failure and continue from last failing
|
--sw, --stepwise Exit on test failure and continue from last failing
|
||||||
test next time
|
test next time
|
||||||
--sw-skip, --stepwise-skip
|
--sw-skip, --stepwise-skip
|
||||||
|
|
|
@ -499,7 +499,8 @@ def pytest_addoption(parser: Parser) -> None:
|
||||||
dest="last_failed_no_failures",
|
dest="last_failed_no_failures",
|
||||||
choices=("all", "none"),
|
choices=("all", "none"),
|
||||||
default="all",
|
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