执行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

posted @ 2020-06-17 13:13  金刚葫芦娃哈  阅读(192)  评论(0编辑  收藏  举报