2006-06-28から1日間の記事一覧
pythonのunittestのやり方をよく忘れるのでメモ&まとめ。 テストケースを作る import HogeModule # テスト対象のモジュール import unittest class testHogeModule(unittest.TestCase): # HogeModuleテストケース def test_foo(self): # foo関数のテストメ…
pythonのunittestのやり方をよく忘れるのでメモ&まとめ。 テストケースを作る import HogeModule # テスト対象のモジュール import unittest class testHogeModule(unittest.TestCase): # HogeModuleテストケース def test_foo(self): # foo関数のテストメ…