News Feed
Jobs Feed
Sections




News Archive
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

Tim's Blog: The PHP Developer: A place for the tools

Rob Allen's Blog: Vagrant in Zend Framework 1

Xaprb's Blog: Four types of database abstraction layers

O\'Reilly: Designing a database-driven PHP App? Don\'t Forget the Data!!

DZone.com: Contributing to Paratest


Community Events











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


zendframework2 database framework code interview example community phpunit introduction application podcast series language composer api functional testing release opinion development

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