* Anatoly Bubenkov <[email protected]> [2015-08-09 00:54:20 +0000]: > The big downside of that plugin's approach, is that only 'call' phase is > retried, while 'setup' is not re-executed and so all function-scoped > fixtures stay as is from previous try. > This is not acceptable if you use fixtures intensively of course. > I created an issue where I have a snippet how it could work > https://github.com/box/flaky/issues/53 > But then realized that it doesn't work properly still: when it's the only > test collected which we're going to retry, all fixtures, including > session-scoped are being resetup as well! > Then looked more and couldn't find any good solutions to actually very > simple question: how do i rerun the test in the same test run? > Any help is appreciated. I think making that plugin work or even making it > available in the core would be a great improvement. > Thanks!
This sounds like another possible usecase for this issue: https://github.com/pytest-dev/pytest/issues/916 Mind adding a comment there explaining your usecase? Florian -- http://www.the-compiler.org | [email protected] (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
pgp1QhAv5D8rE.pgp
Description: PGP signature
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
