Option --last-failed with all prior failures filtered runs no tests #4362
Labels
plugin: cache
related to the cache builtin plugin
topic: collection
related to the collection phase
topic: marks
related to marks, either the general marks or builtin
When using
--last-failed
and there are no last failures, per default and as documented, all tests should run. That works fine unless combined with markers, if those filter all prior failures -> then it runs no tests. It would be more convenient if that could be detected, i.e. if all prior failures are filtered--lf
should behave as if there had been NO last failures => rerun all.pseudo - example:
As a workaround I use:
I am running pytest under Cygwin, and that is my version:
Btw, thanks for the good work, pytest is great! If you are interested in my upgrade-feature request, I happily provide a full test case with py-code and shell script.
The text was updated successfully, but these errors were encountered: