自动化工具 python+pytest+allure 自动化测试的时候经常遇到的冲突问题

朱zhu · October 22, 2019 · Last by 不吃早饭会饿i replied at November 02, 2019 · 1967 hits

1.最近用 python3.7+pytest(最新版)+allure(最新版) 经常会遇到冲突问题:比如 module object has no attribute severity_level,module 'allure' has no attribute 'severity_level' 等。
哪位大神有过完整的 python+pytest+allure 的测试搭建并且运行正确的经验,可以分享一下,相信会很多测试也会遇到这样的问题。是不是因为版本搭配的问题造成的还是其他原因呢?

共收到 3 条回复 时间 点赞

把代码贴出来

这个问题最近遇到过,用了 pytest-allure,卸载 allure-adaptor,就像上面博客讲的一样,配合 Jenkins 的话教程也很多,多搜一下就行

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up