摘要: 第一步:pip install pytest-allure-adaptor 第二步:编写用例 #执行后自动打开报告 allure serve allure 执行一下命令 生成xml数据 阅读全文
posted @ 2019-09-17 15:19 mahaining 阅读(951) 评论(0) 推荐(0) 编辑
摘要: 全功能Python测试框架:pytest python通用测试框架大多数人用的是unittest+HTMLTestRunner,这段时间看到了pytest文档,发现这个框架和丰富的plugins很好用,所以来学习下pytest. image.png image.png pytest是一个非常成熟的全 阅读全文
posted @ 2019-09-17 10:01 mahaining 阅读(215) 评论(0) 推荐(0) 编辑