摘要: 项目结构 包名需要以 test 开头 python 文件需要以 test_ 开头 例如 测试类以 Test 开头(需要继承 unittest.TestCase 类),内部的测试函数以 test 开头命名 常用函数 setUpClass 和 tearDownClass 分别用于测试类的开头和结尾要执行 阅读全文
posted @ 2022-07-16 22:40 漫漫长夜何时休 阅读(85) 评论(1) 推荐(0) 编辑