A test runner for Test Driven Development

English | 日本語

Stagehand_TestRunner provides a test runner to run unit tests. Stagehand_TestRunner strongly supports Test Driven Development (TDD) by various features.

PHPUnit output on Gnome Terminal

Features

  • Runs tests in the specified directory.
  • Runs tests in the specified file.
  • Runs only the specified tests in the specified file.
  • Runs only the tests in the specified classes.
  • Colors the output.
  • Preloads the specified PHP script before running tests.
  • Monitors for changes in the specified directories and run tests when changes are detected.
  • Notifies test results.
  • Logs test results into the specified file in the JUnit XML format.
  • Prints detailed progress report.
  • Stops on the first failure or error.
  • Specifies the test file pattern.
  • Supports PHPUnit, CIUnit, SimpleTest, CakePHP, PHPT, and PHPSpec.

Requirements

NOTE: PHPUnit is required If you use PHPT.

Installation

Package Version Stability Release Date License
Stagehand_TestRunner 2.20.0 stable 2011-10-18 New BSD License Release Notes

Stagehand_TestRunner can be installed directly using our PEAR channel pear.piece-framework.com. The following is a basic installation:

pear channel-discover pear.piece-framework.com
pear install piece/stagehand_testrunner

Documentation

Source

Browse Source Code

Browse Source Code

Git Access

git clone git://github.com/piece/stagehand-testrunner.git

phpunit-output.png - PHPUnit output on Gnome Terminal (72.3 kB) Atsuhiro KUBO, 09/25/2009 10:59 pm

Phpunit-output