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:
Distributed Testing with PHPUnit 3.1
February 22, 2007 @ 12:14:00

In his latest post, Sebastian Bergmann spotlights another new feature of the upcoming PHPUnit release - distributed testing.

One of the new features in the upcoming PHPUnit 3.1 release is the support for distributed testing through the ability to log test result and code coverage data to a database. This way, the same test suite can be run on different platforms with the results being aggregated in the database. For this to work, however, we need a key in the database that identifies test runs from different machines as being related. A Subversion revision number is a perfect candidate for this.

He includes a sample script that helps with the storage of the results in the database by grabbing a unique id for the machine pushing the updates in.

0 comments voice your opinion now!
phpunit distributed testing unittest subversion checkout unique database phpunit distributed testing unittest subversion checkout unique database


blog comments powered by Disqus

Similar Posts

Pádraic Brady's Blog: PHP OpenID 2.0 library for PEAR Updates

Wojciech Sznapka's Blog: Why Mockery is better than PHPUnit Mock Builder (with Symfony2)

Sebastian Bergmann's Blog: Article on PHPUnit at IBM DeveloperWorks

Jonathan Diehl's Wiki: Ajax ActiveTable

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 3


Community Events

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


opinion voicesoftheelephpant laravel5 podcast api version framework conference php7 introduction library community release laravel interview extension example language unittest series

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