摘要: (一)无条件跳过 使用装饰器标记它 @pytest.mark.skip(reason="接口还有问题,暂时跳过") 在方法或函数中使用它 def test_function(): if not valid_config(): pytest.skip("unsupported configuratio 阅读全文
posted @ 2022-01-16 21:47 keena_jiao 阅读(1000) 评论(0) 推荐(0) 编辑