[py-dev] py.test and expected failures

Giovanni Bajo rasky at develer.com
Fri Jun 24 17:32:55 CEST 2005


Hello,

Is there any plan to add "expected failure" support to py.test? Something
like:

@py.test.xfail
def test_foo():
    ....

py.test would then silently skip over the failure, and will instead cry as
soon as the test starts working again ("unexpected success").

Thanks!
-- 
Giovanni Bajo




More information about the Pytest-dev mailing list