标签:ref test 变量 lease 用例 pyc error: 使用 https
1.下载allure
https://github.com/allure-framework/allure2/releases
2.配置allure系统环境变量
3.cmd窗口验证环境变量配置是否成功
4.安装allure-pytest:
pip install allure-pytest
5.运行用例时使用allure生成报告
注意:如果安装了pytest-allure-adaptor,在pycharm使用allure时会报错:module ‘pytest‘ has no attribute ‘allure‘或者AttributeError: module ‘allure‘ has no attribute ‘severity_level‘
此时需要先卸载adaptor: pip uninstall pytest-allure-adaptor
allure安装配置:https://www.jianshu.com/p/5735d388faa2
标签:ref test 变量 lease 用例 pyc error: 使用 https
原文地址:https://www.cnblogs.com/come202011/p/12589441.html