打赏

pytest测试

pytest自动化测试

1.下载源代码

https://github.com/zhangshan33/ATScripts

2.下载依赖库

阿里 https://mirrors.aliyun.com/pypi/simple/
清华 https://pypi.tuna.tsinghua.edu.cn/simple/
豆瓣 https://pypi.douban.com/simple/

错误1:

pytest: error: unrecognized arguments: --html=report.html

解决办法:

 pip install pytest-html

错误2:

pytest: error: unrecognized arguments: --alluredir

解决办法:

 pip install allure-pytest

相关链接

https://www.cnblogs.com/zhangshan33/p/11940356.html

https://blog.csdn.net/weixin_44750991/article/details/113977466

https://juejin.cn/post/6965501550290534431

posted @ 2022-10-19 11:42  苍山落暮  阅读(80)  评论(0编辑  收藏  举报