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