随笔分类 -  pytest测试框架

摘要:Pytest集成Allure生成测试报告,并集成jenkins 1、Allure安装 1)Allure报告的demo样式 2)Allure下载 选择需要的版本,下载zip文件,解压即可 2、添加allure环境变量 Copypath:D:\Program Files\allure-2.13.1\bi 阅读全文
posted @ 2021-12-09 15:22 执着的狼 阅读(138) 评论(0) 推荐(0)
摘要:PyCharm中设置以pytest方式去运行用例 今天整理项目使用unittest+pytest集成allure生成测试报告,运行出现了错误,通过看日志发现原来是用例重复执行了两遍,导致用例之间出现问题。 上网查资料发现是我运行项目的时候操作问题。 ###刚开始我运行项目的时候直接在run_test 阅读全文
posted @ 2021-12-09 15:08 执着的狼 阅读(246) 评论(0) 推荐(0)