I opened a ticket on Github [1] suggesting that the precedence of the --last-failed and --failed-first options be changed, basically to have --failed-first be ignored if --last-failed is also given. Currently when both options are used, all tests are run (with failing first) as if --last-failed was not provided. I suggest this be changed to behave as if --failed-first was not provided.
As I said in the ticket, I'd be happy to try to write the patch for this myself, but since this would be a changing existing behaviour, Ronny Pfannschmidt on Github suggested I'd bring this up here first. Jonas [1] https://github.com/pytest-dev/pytest/issues/2308
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
