News Feed
Jobs Feed
Sections




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

Matthew Weier O'Phinney's Blog:
Setting up your Zend_Test test suites
September 15, 2008 @ 07:58:11

In a new post to his blog Matthew Weier O'Phinney talks about using the Zend_Test component of the Zend Framework to set up test suites on your application.

Testing and test automation should be easy and the complex approach is overkill for most of our applications. Fortunately, PHPUnit offers some other methods that make doing so relatively simple. The easiest method is to use an XML configuration file.

He includes a basic XML config file for a "My Test Suite" setup defining the application's directory and where to log the end report to. This simple PHPUnit configuration can be used with the "phpunit" command line binary to auto-configure all you'll need for the testing. Matthew also includes the code for a sample TestHelper you can drop right into the app to help set up your environment correctly when testing is needed.

0 comments voice your opinion now!
zendtest zendframework test unittest phpunit suite


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Zend Framework: Survive The Deep End - Still Kicking :)

Michelangelo van Dam's Blog: Zend Framework context switching for HTML content

Zend: Webinar Wednesday - Zend Framework 1.0 Webcast Today

Debuggable Blog: Unit Testing in CakePHP Part 1 - Introduction to Unit Testing

Blue Parabola Blog: Getting Started with Zend_Test


Community Events











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


hack threedevsandamaybe symfony2 language composer application facebook release introduction install component framework package database podcast security project unittest hhvm performance

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