1.无条件跳过用例
@pytest.mark.skip(reason="无理由跳过")
2.有条件跳过用例
@pytest.mark.skipif(workage<5,reason="无理由跳过")
标签:入门,pytest,mark,用例,测试用例,跳过 From: https://www.cnblogs.com/woniuguoguo/p/17380173.html
1.无条件跳过用例
@pytest.mark.skip(reason="无理由跳过")
2.有条件跳过用例
@pytest.mark.skipif(workage<5,reason="无理由跳过")
标签:入门,pytest,mark,用例,测试用例,跳过 From: https://www.cnblogs.com/woniuguoguo/p/17380173.html