News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Chris Hartjes' Blog:
Testing Components In CakePHP
July 05, 2007 @ 07:16:38

Chris Hartjes has posted a quick example of a useful method for CakePHP developers - how to test components.

Using the test suite is actually quite easy: drop SimpleTest into your cake/vendors directly and you're ready to start writing your tests. Having written tests using SimpleTest before it wasn't going to be too hard for me to get them done. But there was one little problem: how do you test a component?

He includes an example of such a test, running it on his Email controller to try to send an email via SMTP.

0 comments voice your opinion now!
cakephp framework unittest simpletest email controller smtp cakephp framework unittest simpletest email controller smtp



Similar Posts

Mambo Foundation Blog: Baking Mambo

Dotvoid.com: New help desk application using Zend Framework

Chris Hartjes' Blog: Tutorial: Integrating PHP/SWF Charts with CakePHP

Sanisoft Blog: Radio button issues while migrating from cakePHP-1.2alpha app to 1.2prebeta

Ruzz on Symfony: What is this all about?


Community Events







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


cakephp package mysql release code security zendframework database zend application example developer framework conference releases ajax PEAR PHP5 job book

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