PHPUnit 3.1.0

Sebastian Bergmann » 02 July 2007 » in Announcements » 0 Comments

PHPUnit

After more than six months of development, I have released PHPUnit 3.1.0 today.

Let's take a look at what this release has to offer:

  • 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's Selenium RC extension no longer uses the Testing_Selenium PEAR package but its own implementation of the Selenium RC client/server protocol. Among other benefits, this allows for the collection of code coverage data for Selenium tests.
  • 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.
  • PHPUnit_Framework_TestCase::assertEquals() can now operate on DOMDocument objects.
  • And lots of smaller improvements all over the place.

After this release, the focus of development will now be on PHPUnit 4.

Update: PHPUnit 3.1.1 has been released to address an issue with the mock objects system.

Defined tags for this entry: ,

Trackback specific URI for this entry

0 Comments to "PHPUnit 3.1.0"

Display comments as (Linear | Threaded)
  1. No comments

0 Trackbacks to "PHPUnit 3.1.0"

  1. No Trackbacks

Add Comment


To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Submitted comments will be subject to moderation before being displayed.