[pytest-dev] Flaky tests

Florian Bruhin me at the-compiler.org
Sun Aug 9 10:57:40 CEST 2015


* Eduardo Schettino <schettino72 at gmail.com> [2015-08-09 14:14:09 +0800]:
> I will just throw out another idea that I had about handling flaky tests.
> 
> I think it would be nice to mark a test as "flaky" and than treat it
> differently if it fails.
> 
> For example, once a test is marked as flaky you could choose to ignore
> flaky test failures and maybe report them
> as an "expect failure" or some other custom status. Or still consider it as
> failure if run on a "strict mode".

Also see this issue which proposes a separate marker for flaky tests:

https://github.com/pytest-dev/pytest/issues/814

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20150809/5c50ad98/attachment.sig>


More information about the pytest-dev mailing list