会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小幸运||
博客园
首页
新随笔
联系
管理
订阅
2021年11月15日
【pytest】pytest.mark.dependency用例依赖标签,并解决依赖失效的问题
摘要: pytest第三方插件,用来解决用例之间的依赖关系。如果依赖的用例执行失败后 后续的用例会被跳过执行,相当于智能执行了pytest.mark.skip, 首先要安装插件:pip install pytest-dependency 使用: 第一步:在被依赖的用例上打上标签@pytest.mark.de
阅读全文
posted @ 2021-11-15 14:19 小幸运||
阅读(555)
评论(1)
推荐(0)
编辑
公告