一.关于安装 allure是跟pytest一起集成使用的,所以需要同时安装pytest以及allure-pytest插件: pip install pytest pip install allure-pytest 接下来安装allure,它依赖java环境,需要提前安装jdk并配置jdk环境变量,环境变量如果不会配置的,可以跳转到这个地址:https://www.cnblogs.com/TerLeeHost/p/7890428.html 安装allure从Maven Center下载最新的安装包…