摘要: 学过unittest的setup和teardown,前置和后置执行功能。pytest也有此功能并且功能更强大,今天就来学习一下吧。 用例运行级别: 模块级(setup_module/teardown_module)开始于模块始末,全局的 函数级(setup_function/teardown_fun 阅读全文
posted @ 2020-07-24 21:13 Harry_666 阅读(237) 评论(0) 推荐(0) 编辑