摘要: 一、基础演示 import unittest class TestClass(unittest.TestCase): @classmethod def setUpClass(cls) -> None: print("类开始方法") @classmethod def tearDownClass(cls 阅读全文
posted @ 2022-08-19 08:40 zwx901323 阅读(30) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-19 07:53 zwx901323 阅读(29) 评论(0) 推荐(0)
摘要: 一、语句覆盖:基础覆盖 二、判断覆盖: 三、条件覆盖:最常用的方法 四、路径覆盖: 阅读全文
posted @ 2022-08-19 07:51 zwx901323 阅读(80) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-19 07:43 zwx901323 阅读(7) 评论(0) 推荐(0)