从零到一掌握自动化测试:pytest框架精讲及allure报告生成器(最详尽)(九)
发布时间
阅读量:
阅读量
目录:导读
【一
一、前言
Allure is a robust reporting framework. It is compatible with Java-based testing frameworks such as JUnit and TestNG. Additionally, it can also accommodate Python's pytest framework. Furthermore, it can be seamlessly integrated into Jenkins to display a polished report interface.
环境准备:
- python3.6
- windows环境
- pycharm
- pytest-allure-adaptor
- allure2.7.0
- java1.8
二、pytest-allure-adaptor下载
安装 pytest-allure-adaptor, GitHub地址为:<https://github.com/allure framework/allure-pytest>
pip3 install pytest-allure-adaptor
三、生成xml报告
全部评论 (0)
还没有任何评论哟~
