-[[Pythonでユニットテストを行うには:http://d.hatena.ne.jp/norio515/20100925/1285418592]]

* テスト用モジュール [#wdf6e07f]
** unittest [#z37f35ca]
-[[unittest -- 単体テストフレームワーク:http://www.python.jp/doc/2.5/lib/module-unittest.html]]

-[[PythonでUnitTestとCodeCoverageをやってみる(1):http://lab.hde.co.jp/2008/07/pythonunittestcodecoverage.html]]
-[[PythonでUnitTestとCodeCoverageをやってみる(2):http://lab.hde.co.jp/2008/07/pythonunittestcodecoverage-1.html]]

-[[Python 2.7に搭載の新unittestモジュールはスーパークール:http://coreblog.org/ats/unittest-of-python27-is-super-cool]]

** doctest [#ma11fc7b]
-[[Pythonで簡単な単体テストをはじめよう - doctest:http://d.hatena.ne.jp/tomoemon/20080710/p3]]

** nose [#eabc00c7]
-[[nose-pudb:http://pypi.python.org/pypi/nose-pudb/]]

-[[noseとpudbを使ったテスト駆動開発:http://d.hatena.ne.jp/yuku_t/20100625/1277461416]]
-[[テスト -> fail -> デバッガ - Pythonでテストとデバッガを連携するツール nose-pudb:http://coreblog.org/ats/nose-pudb]]

** py.test [#b7465c80]
-noseとの違い
--指定されたテストケースの無効化
--分散テストの自動化
--テストの非同期実行

-py.testの特定機能を使わないのであればnoseで十分

* 用語 [#e0c641a9]
** コードカバレッジ [#he723d07]
-[[コードカバレッジのまとめ:http://softest.cocolog-nifty.com/blog/2008/03/post_7864.html]]

* 関連書籍 [#n56f28b2]
-[[Python Testing: Beginner's Guide:http://www.amazon.co.jp/s/ref=nb_sb_noss?__mk_ja_JP=%83J%83%5E%83J%83i&url=search-alias%3Denglish-books&field-keywords=Python+Testing%3A+Beginner%27s+Guide&x=0&y=0]]
--[[Python Testing: Beginner's Guide の目次の和訳:http://www.freia.jp/taka/blog/703]]

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS