摘要:
原因:未进入pytest模式 如何设置pytest参考该篇文章:https://www.cnblogs.com/renjie1105/p/15977330.html,打开pycharm进入了test模式,具体表现为用“Run ‘py.test xxx.py’” 如何退出pytest模式 方法1: 第 阅读全文
posted @ 2023-12-01 17:57
luoqingqing6
阅读(753)
评论(0)
推荐(0)
摘要:
Fixture作用域之scope 用于控制Fixture的作用范围,作用类似于Pytest的setup/teardownscope参数可以是session, module,class,function,默认为function,作用范围顺序:session》module》class》function 阅读全文
posted @ 2023-12-01 14:41
luoqingqing6
阅读(161)
评论(0)
推荐(0)
浙公网安备 33010602011771号