A continuous test runner for Eclipse PDT
Version 24 (Atsuhiro KUBO, 12/31/2009 06:16 pm)
| 1 | 24 | Atsuhiro KUBO | h1. A test runner for Test Driven Development |
|---|---|---|---|
| 2 | 1 | Hideharu MATSUFUJI | |
| 3 | 19 | Atsuhiro KUBO | p>. English | [[ja_Overview|日本語]] |
| 4 | 1 | Hideharu MATSUFUJI | |
| 5 | 24 | Atsuhiro KUBO | Stagehand_TestRunner provides a test runner to run unit tests. Stagehand_TestRunner strongly supports "Test Driven Development":http://en.wikipedia.org/wiki/Test-driven_development (TDD) by various features. |
| 6 | 1 | Hideharu MATSUFUJI | |
| 7 | 24 | Atsuhiro KUBO | !phpunit-output.png! |
| 8 | 1 | Hideharu MATSUFUJI | |
| 9 | 1 | Hideharu MATSUFUJI | h2. Features |
| 10 | 1 | Hideharu MATSUFUJI | |
| 11 | 24 | Atsuhiro KUBO | * Runs tests in the specified directory. |
| 12 | 24 | Atsuhiro KUBO | * Runs tests in the specified file. |
| 13 | 24 | Atsuhiro KUBO | * Runs only the specified tests in the specified file. |
| 14 | 24 | Atsuhiro KUBO | * Runs only the tests in the specified classes. |
| 15 | 24 | Atsuhiro KUBO | * Colors test results. |
| 16 | 24 | Atsuhiro KUBO | * Preloads the specified PHP script before running tests. |
| 17 | 24 | Atsuhiro KUBO | * Monitors for changes in the specified directories and run tests when changes are detected. |
| 18 | 24 | Atsuhiro KUBO | * Notifies test results to "Growl":http://growl.info/. |
| 19 | 24 | Atsuhiro KUBO | * Logs test results into the specified file in the "JUnit":http://www.junit.org/ XML format. |
| 20 | 24 | Atsuhiro KUBO | * Prints detailed progress report. |
| 21 | 24 | Atsuhiro KUBO | * Supports "PHPUnit":http://www.phpunit.de/, "SimpleTest":http://simpletest.org/, "PHPT":http://qa.php.net/write-test.php, and "PHPSpec":http://www.phpspec.org/. |
| 22 | 1 | Hideharu MATSUFUJI | |
| 23 | 1 | Hideharu MATSUFUJI | h2. Requirements |
| 24 | 1 | Hideharu MATSUFUJI | |
| 25 | 24 | Atsuhiro KUBO | * PHP 5.2.0 or greater |
| 26 | 24 | Atsuhiro KUBO | * "PEAR":http://pear.php.net/package/PEAR 1.4.3 or greater |
| 27 | 24 | Atsuhiro KUBO | * "Stagehand_AccessControl":http://redmine.piece-framework.com/projects/show/stagehand-accesscontrol 0.1.0 or greater |
| 28 | 24 | Atsuhiro KUBO | * "Stagehand_AlterationMonitor":http://redmine.piece-framework.com/projects/show/stagehand-alterationmonitor 1.0.0 or greater |
| 29 | 24 | Atsuhiro KUBO | * "Stagehand_Autoload":http://redmine.piece-framework.com/projects/show/stagehand-autoload 0.4.0 or greater |
| 30 | 24 | Atsuhiro KUBO | * "Stagehand_CLIController":http://redmine.piece-framework.com/projects/show/stagehand-clicontroller 0.1.0 or greater |
| 31 | 24 | Atsuhiro KUBO | * "Stagehand_DirectoryScanner":http://redmine.piece-framework.com/projects/show/stagehand-directoryscanner 1.0.0 or greater |
| 32 | 24 | Atsuhiro KUBO | * (optional) "Console_Color":http://pear.php.net/package/Console_Color 1.0.2 or greater |
| 33 | 24 | Atsuhiro KUBO | * (optional) "Net_Growl":http://pear.php.net/package/Net_Growl 0.7.0 or greater |
| 34 | 24 | Atsuhiro KUBO | * (optional) "PHPSpec":http://www.phpspec.org/ 0.2.3 or greater |
| 35 | 24 | Atsuhiro KUBO | * (optional) "PHPUnit":http://www.phpunit.de/ 3.4.1 or greater |
| 36 | 24 | Atsuhiro KUBO | * (optional) "SimpleTest":http://simpletest.org/ 1.0.1 or greater |
| 37 | 24 | Atsuhiro KUBO | * "pcre":http://www.php.net/manual/en/book.pcre.php |
| 38 | 24 | Atsuhiro KUBO | * "SPL":http://www.php.net/manual/en/book.spl.php |
| 39 | 24 | Atsuhiro KUBO | * (optional) "dom":http://www.php.net/manual/en/book.dom.php |
| 40 | 24 | Atsuhiro KUBO | * (optional) "mbstring":http://www.php.net/manual/en/book.mbstring.php |
| 41 | 24 | Atsuhiro KUBO | * (optional) "xmlwriter":http://www.php.net/manual/en/book.xmlwriter.php |
| 42 | 19 | Atsuhiro KUBO | |
| 43 | 24 | Atsuhiro KUBO | bq. *NOTE*: "PHPUnit":http://www.phpunit.de/ is required If you use "PHPT":http://qa.php.net/write-test.php. |
| 44 | 24 | Atsuhiro KUBO | |
| 45 | 1 | Hideharu MATSUFUJI | h2. Installation |
| 46 | 1 | Hideharu MATSUFUJI | |
| 47 | 23 | Atsuhiro KUBO | |_. Package |_. Version |_. Stability |_. Release Date |_. License | | |
| 48 | 24 | Atsuhiro KUBO | | *Stagehand_TestRunner* | *2.10.0* | stable | 2009-12-24 | "New BSD License":http://www.opensource.org/licenses/bsd-license.php | [[en_ReleaseNotes_2_10_0|Release Notes]] | |
| 49 | 19 | Atsuhiro KUBO | |
| 50 | 24 | Atsuhiro KUBO | Stagehand_TestRunner can be installed directly using our PEAR channel pear.piece-framework.com. The following is a basic installation: |
| 51 | 18 | Atsuhiro KUBO | |
| 52 | 24 | Atsuhiro KUBO | <pre class="prettyprint">pear channel-discover pear.piece-framework.com |
| 53 | 24 | Atsuhiro KUBO | pear install piece/stagehand_testrunner</pre> |
| 54 | 18 | Atsuhiro KUBO | |
| 55 | 19 | Atsuhiro KUBO | h2. Documentation |
| 56 | 19 | Atsuhiro KUBO | |
| 57 | 22 | Atsuhiro KUBO | * [[en_UserGuide|User Guide]] |
| 58 | 19 | Atsuhiro KUBO | * [[en_ReleaseNotes|Release Notes]] |
| 59 | 19 | Atsuhiro KUBO | |
| 60 | 19 | Atsuhiro KUBO | h2. Source |
| 61 | 19 | Atsuhiro KUBO | |
| 62 | 19 | Atsuhiro KUBO | h3. Browse Source Code |
| 63 | 19 | Atsuhiro KUBO | |
| 64 | 24 | Atsuhiro KUBO | "Browse Source Code":http://github.com/piece/stagehand-testrunner |
| 65 | 19 | Atsuhiro KUBO | |
| 66 | 19 | Atsuhiro KUBO | h3. Git Access |
| 67 | 19 | Atsuhiro KUBO | |
| 68 | 24 | Atsuhiro KUBO | <pre class="prettyprint">git clone git://github.com/piece/stagehand-testrunner.git</pre> |