问答 怎么将 case 的打印结果 显示在 allure 报告中

guoyi · 2019年12月04日 · 最后由 Imp 回复于 2019年12月04日 · 2728 次阅读

如图,怎样将 case 的打印结果【红框部分】显示到 allure 报告 中展示.

共收到 3 条回复 时间 点赞

pytest 参考官方文档插入 attachment 吧
https://docs.qameta.io/allure/#_attachments_5

引入 logging

皆非 回复

想了解下引入 logging 的步骤;

guoyi 关闭了讨论 12月04日 20:07
需要 登录 後方可回應,如果你還沒有帳號按這裡 注册