在做接口自动化,使用allure生成测试报告时,遇到以下报错:
ERROR: usage: run.py [options] [file_or_dir] [file_or_dir] [...]
run.py: error: unrecognized arguments: --alluredir ./Reports
inifile: None
rootdir: C:\projects\InterfaceAuto
原因:未按装 allure-pytest插件
解决方案:安装allure