【pytest】pytest.mark.xxx使用
摘要:pytest.mark.xfail使用 使用xfail标记用例预期失败,如果用例运行成功则显示Xpassed,失败则显示xfailed。xfail标记并不会影响用例的运行 备注:xfail_strict = true 如果在pytest.int配置这个参数,预计失败(xfailed),结果成功的(x
阅读全文
posted @ 2021-02-28 21:54
posted @ 2021-02-28 21:54
posted @ 2021-02-27 21:05