摘要:
一.pytest.xfail & @pytest.mark.xfail(raises=ErrorType) 1.pytest.xfail: 将该用例标记成xfail失败,并且该用例中的后续代码不会执行 在测试用例中调用pytes.xfail()方法,可以选择传入reason参数表示原因 import 阅读全文
posted @ 2021-03-14 11:51
ananmy
阅读(1936)
评论(0)
推荐(0)
浙公网安备 33010602011771号