News Feed
Sections




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

Sebastian Bergmann's Blog:
PHPUnit 3.0
December 26, 2005 @ 07:20:09

In his latest post today, Sebastian Bergmann announces the upcoming release of the latest version of the widely popular PHP unit testing suite - PHPUnit 3.0.

These past few days I have been busy hacking on what will become PHPUnit 3.0, hopefully already in January 2006.

The hallmark feature of PHPUnit 3.0 will be its support for Mock Objects. PHPUnit's Mock Object implementation has been initially developed by Jan Borsodi of eZ systems AS and is inspired by jMock.

While working with the Unit Tests for the Zend Framework I noticed that PHPUnit previously had no support for skipping the execution of a test, for instance when a required PHP extension is not available. PHPUnit 3.0 introduces the PHPUnit2_Framework_Assert::markTestSkipped() to mark a test as being skipped.

Chris Shiflett requested support for the Test Anything Protocol (TAP) which I added in the form of a respective PHPUnit2_Framework_TestListener implementation.

PHPUnit has become the de-facto standard for unit testing with PHP, and it's great to see so many more improvements coming from it. It's also good to see that, through it's efforts with the Zend Framework, it's also found some places it was lacking and fixed them right up.

0 comments voice your opinion now!
phpunit version three mock objects tap support phpunit version three mock objects tap support


blog comments powered by Disqus

Similar Posts

Chris Jones' Blog: Upgrading PHP Web Applications with Minimum Downtime using Oracle Editioning

Lukas Smith\'s Blog: PDO? SQLite 3.x?

Mike Lively's Blog: Pear Channel set up for Phake

Matthew Weir O'Phinney's Blog: Getting XDebug working with PHPUnit for code coverage reports

Edin Kadribasic's Blog: PHP 4.4.6-win32 with MySQL 5.0.37


Community Events





Don't see your event here?
Let us know!


laravel release code zendserver development threedevsandamaybe developer symfony deployment framework tips list podcast api language introduction community conference interview series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework