(PYTEST_test_programs) E:\PYTEST_test_programs\Allure_report1>pytest test_file01.py --alluredir="C:\Users\Admin\Desktop\Resumes\reports"
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --alluredir=C:\Users\Admin\Desktop\Resumes\reports
inifile: None
rootdir: E:\PYTEST_test_programs\Allure_report1
我一点都不熟悉诱人的框架,但是听起来您好像缺少了allure-pytest
插件,该插件提供了该命令行参数
您可能需要在要在其中运行测试的任何环境中allure-pytest