关于pytest使用allure生成报告时,报一堆警告和缺少XX模块

因为最新的pytest 支持*.josn的用例报告,卸载旧的模块使用新的即可:

需要移除旧模块:pip uninstall pytest-allure-adaptor,

    并安装:pip install allure-pytest,并把pytest升到最新:pip install -U pytest

原文地址:https://www.cnblogs.com/sc912/p/11366517.html