PHPUnit Status Update

Sebastian Bergmann » 23 June 2007 » in PHPUnit » 1 Comment

PHPUnit

The last weeks have been busy, but now I want to take the time to finally give you an update on the status of PHPUnit.

The development of PHPUnit 3.1 is progressing nicely, about the only thing missing is finishing the documentation for all the new features. Speaking of features, let's take a look at what PHPUnit 3.1 has in store:

  • 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.
  • And lots of smaller improvements all over the place.

The development of two major features is being done in separate branches:

I hope to release PHPUnit 3.1 well before the end of next month. Then I can finally start working on PHPUnit 4 :-)

Defined tags for this entry: , , ,

Trackback specific URI for this entry

1 Comment to "PHPUnit Status Update"

Display comments as (Linear | Threaded)
  1. Rene L.
    25/06/2007 at 12:55 Permalink
    Wow, PHPUnit is going to be even more versatile and useful than ever before!
    I hope it will be supported (or even integrated) by the Eclipse PHP Development Tools:
    http://www.eclipse.org/pdt/


    Keep up the good work,
    René

    Reply

0 Trackbacks to "PHPUnit Status Update"

  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.