pytest+allure 在测试用例所在文件夹下执行该命令 pytest -s test_mail.py -q --alluredir …/reports 生成报告数据 # 执行命令 allure generate ./temp -o ./report --clean ,生成测试报告 # allure generate ../reports - o ../temp --clean 生成测试报告 这里写自定义目录标题)