我试图在Windows8设备上用Pytest(3.6xx)配置Allure(2.6.0)。 我能够运行pytest并生成junitxml报告文件,稍后可以将其传递给allure(allure服务器jUnitXmlFile.xml文件)而且效果很好。在
我需要的是Allure提供的附加功能(元数据、附件等),所以我下载了pytestallure适配器。在
因此,我在我的venv中安装了以下软件包:
allure-pytest==2.4.1
allure-python-commons==2.4.1
pytest-allure-adaptor==1.7.10
...
如果我现在跑py.test.exe文件,我得到以下错误:
^{pr2}$pytest allure适配器是否有问题? 有人有类似的问题吗?在
allure python commons与pytest allure适配器不兼容。您需要删除旧插件并重新安装allure pytest和allure python commons。在
您的pytest allure适配器不兼容。如果您有python2-
否则,如果您有python3-
^{pr2}$相关问题 更多 >
编程相关推荐