会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Tester-LH
博客园
首页
新随笔
联系
订阅
管理
2021年7月23日
pytest(5):setup和teardown的详细使用
摘要: 前言 用过unittest的童鞋都知道,有两个前置方法,两个后置方法;分别是 setup() setupClass() teardown() teardownClass() Pytest也贴心的提供了类似setup、teardown的方法,并且还超过四个,一共有十种 模块级别:setup_modul
阅读全文
posted @ 2021-07-23 11:36 Tester-**
阅读(150)
评论(0)
推荐(0)
编辑
公告