zoukankan      html  css  js  c++  java
  • 执行allure报错误:MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.

    错误:

    一堆warning,pytest没有执行,错误截图如下:

     问题原因:

     有运行警告了,测试也不运行了,因此运行的时候忽略warning。

    解决办法:

     运行时,增加:-p no:warning

     pytest --alluredir=../results -s -v -p no:warnings

    再次运行,问题解决!

    参考:https://blog.csdn.net/bugkill/article/details/87805767

    如有不足之处,欢迎大家指正,共同学习进步~! 每天进步一小步,就会有个新高度~
  • 相关阅读:
    Android随笔
    Android随笔
    Android随笔
    Android随笔
    Android随笔
    Android随笔
    Android随笔
    Android随笔
    Android随笔
    Codeforces Round #551题解
  • 原文地址:https://www.cnblogs.com/lyangyang/p/13151917.html
Copyright © 2011-2022 走看看