-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--lfnf
does nothing unless you also pass --lf
#11346
Comments
I would agree that the documentation is a bit unclear, I would also suggest updating the documentation to make t functionality of |
A PR to update the docs would be great. Why not make ---lfnf imply --lf? My understanding is that people often put the |
@nicoddemus I can work on the docs to make what this is supposed to do more clear, but I have an additional question, in which does Also sorry, this is my first issue I am working on as a contributor, so I am a bit new to the Pytest codebase, and not really knowledgeable about the functionalities yet. |
In that case would it make more sense for |
Not necessarily, it is also common to use it via command-line. |
No, (The information above might be helpful to include into the https://docs.pytest.org/en/stable/how-to/cache.html#behavior-when-no-tests-failed-in-the-last-run section for those interested in contribute!). I think the |
I think its time to close this as works ask intended |
Indeed it does, but we have since then redirected it to update/clarify the docs instead. |
@RonnyPfannschmidt is right, better to close this one and create a follow up: #11354 Thanks @seanjedi and @DetachHead! |
this will run every test regardless of if there were any previous failures
i have to pass both arguments for it to work:
i'm not sure if this is intended functionality for whatever reason, but if it is, it should be documented in the
--help
description. the current documentation seems a bit unclear:The text was updated successfully, but these errors were encountered: