摘要: 之前我写的unittest的setup和teardown,还有setupClass和teardownClass(需要配合@classmethod装饰器一起使用),接下来就介绍pytest的类似于这类的固件。 (1.setup_function、teardown_function 2.setup_cl 阅读全文
posted @ 2018-07-27 14:46 裴敏儿 阅读(6207) 评论(1) 推荐(2)