You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lastfailed - persist failure sets until all broken tests where removed #1017
it occurred to me that while doing red-green refactoring,
the likelihood of breaking tests in the same failure set is high,
it might be helpful to have an option to keep them around
i propose adding a --lf-keep option that would simply skip writing the new last-failed if there are leftover failures
changed the title [-]lastfailed - have a option to keep parts of the last failed sets that pass[/-][+]lastfailed - persist failure sets until all broken tests where removed[/+]on Dec 6, 2015
Activity
cache: add a --lf-keep option, fixes pytest-dev#1017
cache: changelogs and docs for issue pytest-dev#1017
RonnyPfannschmidt commentedon Dec 6, 2015
followup to #1128 - when keeping the current failure set in a test subset selection
its not clear when to discard a part of the failed set
[-]lastfailed - have a option to keep parts of the last failed sets that pass[/-][+]lastfailed - persist failure sets until all broken tests where removed[/+]The-Compiler commentedon Aug 5, 2016
While this is a nice feature, it shouldn't block 3.0. Since we're already postponing it for a while, I'm removing the milestone entirely.
blueyed commentedon Apr 7, 2019
JFI and for reference: only found this old issue after creating #5073 already.
RonnyPfannschmidt commentedon Apr 2, 2020
for now unassigned myself, will reiterate when i find time and motivation, if anyone wants to give it a shot feel free to