Repository navigation
Fix #1017 - add option remember the last failed set if its not completely resolved - #1128
RonnyPfannschmidt wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
This text seems confusing to me... perhaps this could be written as:
* ``--lf-keep`` (last full failure set) - will not clear the previous set of failed tests, so a test
will only be removed from the failed set if it passes. This works particularly well when used in combination
with ``--ff --lf-keep -x``, so tests can be fixed one at a time.
|
I have missed this feature in more than one occasion. In fact I would argue that |
|
I'm fine with both, I'd like to hear @hpk42 opinion |
|
Any news on this? |
|
no, i'd still like holgers input |
|
i also think we should just change the default behaviour. Compatibility on that level is not that important as @nicoddemus aleady mentioned. I often do a full test run, then do "py.test --lf test_some_module.py" and after i got those passing am annoyed that all other failures have been lost already. If one wants to do a re-run it is easy enough to simply not use "--lf" then. |
|
im on it |
|
after tacking it on detail i noticed various edge cases that cant be solved soon, will create a new pr in future |
|
OK, thanks @RonnyPfannschmidt ! |
as noted in #1017 when doing a red-green rre-factoring
it is helpful to keep running a larger test set instead of loosing track of those that passed once