Fork me on GitHub
摘要: 前言 今天我们再说一下pytest框架和unittest框架相同的fixture的使用, 了解unittest的同学应该知道我们在初始化环境和销毁工作时,unittest使用的是setUp,tearDown方法,那么在pytest框架中同样存在类似的方法,今天我们就来具体说明。 先附上官方文档的一段 阅读全文
posted @ 2019-04-23 22:03 linux超 阅读(1271) 评论(0) 推荐(0) 编辑