HelloTestCase是用例类
suite = unittest.makeSuite(HelloTestCase)
升级到Python3后,发现makeSuite没有啦!其实是被下面这段代码取代了。
suite=unittest.TestLoader().loadTestsFromTestCase(HelloTestCase)
(备注: TestLoader uses the 'test' method name prefix to identify test methods automatically.)