タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

noseとdoctestに関するcanipyのブックマーク (1)

  • nose で doctest - Twisted Mind

    テストツールですが Python 書いてます。ツールと言えば信頼性ということでテストですね。 Python でテストといえば doctest です。 テストツールと言えば nose です。 nose といえば coverage です。 インストールとかはは @aohta の記事で。 nose でテスト実行時のカバレッジを取得する。 - kuma8の日記 nose で doctest をするためには以下な感じで。 nosetests --with-doctest --with-coverage --cover-html --cover-package=snowflake(パッケージ名) --with-doctest で doctest --with-coverage はカヴァレッジ出力 --cover-html は cover/index.html から、結果をカラフルに --cover-p

    nose で doctest - Twisted Mind
  • 1