テスト駆動開発のためのテストランナー v2
Version 37 (Atsuhiro KUBO, 10/18/2011 03:18 am)
| 1 | 1 | Atsuhiro KUBO | h1. テスト駆動開発のためのテストランナー |
|---|---|---|---|
| 2 | 1 | Atsuhiro KUBO | |
| 3 | 1 | Atsuhiro KUBO | p>. [[en_Overview|English]] | 日本語 |
| 4 | 1 | Atsuhiro KUBO | |
| 5 | 14 | Atsuhiro KUBO | Stagehand_TestRunner は、ユニットテストを実行するためのテストランナーを提供します。Stagehand_TestRunner は、様々な特徴により "テスト駆動開発":http://ja.wikipedia.org/wiki/%E3%83%86%E3%82%B9%E3%83%88%E9%A7%86%E5%8B%95%E9%96%8B%E7%99%BA (TDD: Test Driven Development) を強力にサポートします。 |
| 6 | 1 | Atsuhiro KUBO | |
| 7 | 6 | Atsuhiro KUBO | !http://redmine.piece-framework.com/attachments/73/phpunit-output.png! |
| 8 | 1 | Atsuhiro KUBO | |
| 9 | 1 | Atsuhiro KUBO | h2. 特徴 |
| 10 | 1 | Atsuhiro KUBO | |
| 11 | 1 | Atsuhiro KUBO | * 指定されたディレクトリに含まれるテストの実行 |
| 12 | 1 | Atsuhiro KUBO | * 指定されたファイルに含まれるテストの実行 |
| 13 | 17 | Atsuhiro KUBO | * 指定されたファイルの指定されたテストのみの実行 |
| 14 | 17 | Atsuhiro KUBO | * 指定されたクラスのテストのみの実行 |
| 15 | 33 | Atsuhiro KUBO | * 出力の色付け |
| 16 | 7 | Atsuhiro KUBO | * 指定された PHP スクリプトのテスト実行前のプリロード |
| 17 | 1 | Atsuhiro KUBO | * 指定されたディレクトリの変更の監視および変更検出時のテストの実行 |
| 18 | 31 | Atsuhiro KUBO | * テスト結果の通知 |
| 19 | 17 | Atsuhiro KUBO | * "JUnit":http://www.junit.org/ XML フォーマットによる、指定されたファイルへのテスト結果のロギング |
| 20 | 17 | Atsuhiro KUBO | * 詳細な進捗リポートの出力 |
| 21 | 18 | Atsuhiro KUBO | * 最初の失敗またはエラーの際の停止 |
| 22 | 28 | Atsuhiro KUBO | * テストファイルのパターンの指定 |
| 23 | 35 | Atsuhiro KUBO | * "PHPUnit":https://github.com/sebastianbergmann/phpunit, "CIUnit":http://www.knollet.com/foostack/, "SimpleTest":http://simpletest.org/, "CakePHP":http://cakephp.org/, "PHPT":http://qa.php.net/write-test.php, "PHPSpec":http://www.phpspec.org/ のサポート |
| 24 | 1 | Atsuhiro KUBO | |
| 25 | 1 | Atsuhiro KUBO | h2. 動作環境 |
| 26 | 28 | Atsuhiro KUBO | |
| 27 | 37 | Atsuhiro KUBO | {{include(動作環境_2_20_0)}} |
| 28 | 15 | Atsuhiro KUBO | |
| 29 | 1 | Atsuhiro KUBO | h2. インストール |
| 30 | 1 | Atsuhiro KUBO | |
| 31 | 1 | Atsuhiro KUBO | |_. パッケージ |_. バージョン |_. 安定性 |_. リリース日 |_. ライセンス | | |
| 32 | 36 | Atsuhiro KUBO | | *Stagehand_TestRunner* | *2.20.0* | stable | 2011-10-18 | "修正 BSD ライセンス":http://www.opensource.org/licenses/bsd-license.php | [[ja_ReleaseNotes_2_20_0|リリースノート]] | |
| 33 | 1 | Atsuhiro KUBO | |
| 34 | 30 | Atsuhiro KUBO | 私たちの PEAR チャネル pear.piece-framework.com を使って直接 Stagehand_TestRunner をインストールすることができます。下記は基本的なインストール方法です。 |
| 35 | 1 | Atsuhiro KUBO | |
| 36 | 1 | Atsuhiro KUBO | <pre class="prettyprint">pear channel-discover pear.piece-framework.com |
| 37 | 1 | Atsuhiro KUBO | pear install piece/stagehand_testrunner</pre> |
| 38 | 1 | Atsuhiro KUBO | |
| 39 | 1 | Atsuhiro KUBO | h2. ドキュメント |
| 40 | 1 | Atsuhiro KUBO | |
| 41 | 31 | Atsuhiro KUBO | * [[ユーザーガイド]] |
| 42 | 31 | Atsuhiro KUBO | * [[リリースノート]] |
| 43 | 1 | Atsuhiro KUBO | |
| 44 | 1 | Atsuhiro KUBO | h2. ソース |
| 45 | 1 | Atsuhiro KUBO | |
| 46 | 1 | Atsuhiro KUBO | h3. ソースコードを見る |
| 47 | 1 | Atsuhiro KUBO | |
| 48 | 1 | Atsuhiro KUBO | "ソースコードを見る":http://github.com/piece/stagehand-testrunner |
| 49 | 1 | Atsuhiro KUBO | |
| 50 | 1 | Atsuhiro KUBO | h3. Git アクセス |
| 51 | 1 | Atsuhiro KUBO | |
| 52 | 1 | Atsuhiro KUBO | <pre class="prettyprint">git clone git://github.com/piece/stagehand-testrunner.git</pre> |