Do You PHP はてブロ

Do You PHPはてなからはてブロに移動しました

PHPUnit3.0β1リリース

XdebugのRCリリースに伴い、PHPUnit3.0も初めてのβ版がリリースされています。


Now that Derick has released the first release candidate of Xdebug 2 it is time for me to release a first beta version of PHPUnit 3.0.

特徴としては以下のものが挙げられていますが、目新しいところではMockのサポートやSeleniumとの連携という感じでしょうか?いずれにしても、Java側のツールやTDD・アジャイル的な考え方がどんどんポーティングされているようです。

  • Complete port of JUnit 3.8.1 to PHP 5.
  • Supports Mock Objects (port of jMock).
  • Supports Code Coverage Analysis (utilizing the Xdebug extension for PHP) and can generate reports based on this information.
  • Supports Incomplete Tests (port of junitour) and the skipping of tests.
  • Supports Agile Documentation (port of TestDox).
  • Supports generation of test code skeletons for existing code.
  • Supports logging of test execution in an XML Format, using the Test Anything Protocol (TAP), in GraphViz Markup, and to PEAR::Log sinks.
  • Integrates with Selenium RC for web application user interface testing.
  • Integrates with PHPEclipse.
  • Integrates with CruiseControl for Continuous Integration.
  • Integrates with Phing.
  • "Self-Hosted" and Robust: PHPUnit is covered by a Test Suite that ensures it works correctly.