Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sebastian Bergmann's Blog:
PHPUnit 3.1.0 (Release Announcement)
Jul 02, 2007 @ 10:27:00

Sebastian Bergmann has posted the official release of one of the most popular unit testing software packages for PHP on the web - PHPUnit 3.1.0.

Included in the advancements he mentions are things like:

  • Improvements to Mock Objects include the ability to mock classes and methods that do not exist as well as mocking static methods. And mocked methods can raise exceptions now.
  • PHPUnit can now write test result and code coverage data to a test database. Several ideas for future features depend on this data.
  • New template methods, PHPUnit_Framework_TestCase::sharedAssertions(), PHPUnit_Framework_TestSuite::setUp(), PHPUnit_Framework_TestSuite::tearDown(), and PHPUnit_Extensions_SeleniumTestCase::defaultAssertions(), ease the development of test cases.

This latest version can be pulled from PHPUnit's Trac repository or via the PEAR installer (recommended method).

tagged: release announcement phpunit unittest release announcement phpunit unittest

Link: