一個簡單的unittest 當然先import unittest(廢話)和剛剛寫好的module.起一個class 繼承unittest.TestCase,接著就可以寫測試方法.寫測試方法幾個小點: 方法的命名最好 ...
確定! 回上一頁