会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
keena_jiao
博客园
首页
新随笔
联系
订阅
管理
2022年1月16日
pytest 跳过测试用例
摘要: (一)无条件跳过 使用装饰器标记它 @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)
编辑
公告