• Jenkins 构建 Allure Report at 2019年03月13日

    pytest-allure-adaptor 与 allure-pytest 的 alluredir 都被引用造成冲突(可以全局搜索一下哪些冲突),然后卸载掉不用的包就可以了

  • 谢谢,按照你说的改了已经好了,但是遇到了手机上的有些 app 无法连接网络,比如我们自己的 app,UC 浏览器,但是 qq 又可以使用,你知道什么原因吗

  • 已解决,谢谢

  • Jenkins 构建 Allure Report at 2018年09月19日

    还是谢谢楼主,我已经解决了,卸载一个 allure-pytest 就好了,希望其他小伙伴不要入这个坑😂

  • 不知道你解决没有,应该是因为--alluredir 指定了两个参数导致的,你可以全局搜索一下看是不是框架源码中有一样的参数,我的解决办法是卸载 allure-pytest,我也是困扰了很久,今天问了做开发的同事才发现可能是这个原因,然后卸载一个包以后就好了,希望可以帮到你

  • Jenkins 构建 Allure Report at 2018年09月19日

    直接执行的,没有用 jenkins

  • Jenkins 构建 Allure Report at 2018年09月19日

    装了(环境:python3.7,pytest3.8.0,pytest-allure-adaptor-1.7.10),然后运行就报这个了 ValueError: option names {'--alluredir'} already added,感觉像是说 alluredir 指定参数冲突了,但是不知道怎么解决,运行语句是这个:
    if name == 'main':
    pytest.main(['-s', '-q', '--alluredir ', './report/xml'])

  • Pytest+Allure 定制报告 at 2018年09月18日

    楼主大大这种问题碰到过吗?怎么解决的?

  • Jenkins 构建 Allure Report at 2018年09月18日

    就加了@allure.feature@allure.story,之前用 python2.7 是好的,我将 pytest-allure-adaptor 删除以后就不报错了,但是通过命令行生成的都是 json 的数据,而不是 xml 的

  • 楼主用 allure(python3.7,pytest3.8.0,pytest-allure-adaptor-1.7.10),有碰到这种报错吗?怎么解决的