[pytest-dev] Changing --last-failed and --failed-first precedence

Jonas Obrist ojiidotch at gmail.com
Tue Mar 14 05:35:39 EDT 2017

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.


[1] https://github.com/pytest-dev/pytest/issues/2308
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20170314/a875193a/attachment.html>

More information about the pytest-dev mailing list