在运行每个测试时, setUp() 、 tearDown() 和 __init__() 会被调用一次。 推荐你根据用例所测试的功能将测试用TestCase 分组。 unittest 为此提供了test suite: unittest ...
確定! 回上一頁