【问题标题】:What pytest-allure-adaptor version is needed to run with pytest version 5.1.2 which apparently is the latest version需要什么 pytest-allure-adaptor 版本才能使用 pytest 版本 5.1.2 运行,这显然是最新版本
【发布时间】:2019-09-12 18:53:25
【问题描述】:

我一直在努力解决这个问题。我有 pytest 版本 5.1.2,这是现在的最新版本。我尝试了不同版本的 pytest-allure-adaptor,例如 1.4.0 以生成诱惑报告,但没有一个版本兼容,我收到此错误:

ImportError: 无法从“_pytest.junitxml”导入名称“mangle_testnames”

有人可以指导我正确的 pytest 和 pytest-allure-adaptor 版本组合吗?

【问题讨论】:

    标签: python-3.x pytest allure


    【解决方案1】:

    Allure PyTest 集成已重命名为 allure-pytesthttps://pypi.org/project/allure-pytest/ 。源代码已移至新存储库https://github.com/allure-framework/allure-python

    请考虑迁移到 allure-pytest 以支持最新版本的 PyTest

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-08-15
      • 1970-01-01
      • 2016-05-17
      • 1970-01-01
      • 2014-09-04
      • 1970-01-01
      • 1970-01-01
      • 2015-07-25
      相关资源
      最近更新 更多