https://blog.csdn.net/huilan_same/article/details/52944782

addTest()、addTests()注意使用区分

多种方法调用测试用例的使用

每个测试方法均以 test 开头,否则是不被unittest识别的

setUp()与tearDown()、setUpClass() 与 tearDownClass()一起使用,怎样按顺序执行?

跳过case也加上呢?

TestResult输出。txt、HTML等

 

posted on 2018-07-18 09:23  你猜我猜你猜我猜不猜  阅读(99)  评论(0编辑  收藏  举报