04 2020 档案

摘要:一、pytest + allure 1) 测试报告添加图片: f_cart = open(img_name,'rb').read() allure.attach(f_cart,"cart",allure.attachment_type.PNG) 阅读全文
posted @ 2020-04-21 10:24 jiguanghover 阅读(284) 评论(0) 推荐(0) 编辑
摘要:在mac下使用allure 生成测试报告,需要安装软件为: 1. pytest 2. allure-pytest 或者 pytest-allure-adaptor (记住二者只能选其一) 3. allure(依赖jdk环境1.8+) (https://github.com/allure-framew 阅读全文
posted @ 2020-04-12 12:24 jiguanghover 阅读(4962) 评论(0) 推荐(0) 编辑