Get the results of previous tests

时间:2016-04-15 14:49:53

标签: python pytest

Is it possible to get the results of previous tests in pytest? Or drop test execution if a few specific test failure?

for example:

pytest.mark.skipif(test_failed("test1", "test2"), reason="Reason")
def test_the_unknown(): pass

1 个答案:

答案 0 :(得分:0)

没有内置于这种行为atm

但它可以为插件创建工具, 如果您愿意,请联系github,ml或irc频道

相关问题