This document is about the usage of the py.test testing tool. There is also document describing the implementation and the extending of py.test. 1 コマンドラインツール py.test で始めましょう. 既に py.test をインストールして、コマンドラインから実行できるようになっている前提で名無しを進めます. py.test はテストを実行させるためのコマンドラインツールです. Pythonテストファイル(またはディレクトリ)を引数にして実行させます.: py.test test_sample.py py.test は test_ で始まるモジュールからすべての関数とメソッドを探し出して実行します. テストの確認は、通常の assert