会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leev1-01
博客园
首页
新随笔
联系
订阅
管理
2022年6月28日
pytest标记用例失败
摘要: pytest标记用例失败的方法: 1.pytest.xfail(reason)标记失败,且后续代码不执行 2.pytest.mark.xfail(condition,reason=None)标记预期失败,会执行用例,如果失败,结果会显示xfail;通过会显示xpass condition=True,
阅读全文
posted @ 2022-06-28 14:37 LeeV1
阅读(331)
评论(0)
推荐(0)
2022年6月27日
pytest+allure报告层级
摘要: @allure.epic("测试项目") @allure.feature("测试模块") @allure.story("测试添加、删除、修改") class TestDemo: @allure.title("测试用例001") @allure.description("这是用例描述") def te
阅读全文
posted @ 2022-06-27 15:08 LeeV1
阅读(203)
评论(0)
推荐(0)
公告