0
是否有可能在pytest中获得先前测试的结果?或者如果几个特定的测试失败,则放弃测试执行?获得之前测试的结果
例如:
pytest.mark.skipif(test_failed("test1", "test2"), reason="Reason")
def test_the_unknown(): pass
是否有可能在pytest中获得先前测试的结果?或者如果几个特定的测试失败,则放弃测试执行?获得之前测试的结果
例如:
pytest.mark.skipif(test_failed("test1", "test2"), reason="Reason")
def test_the_unknown(): pass
没有什么内建的这种行为ATM
,但其可能为作为插件, 如果你到它,请与我们创建工具触摸github,ml或irc频道