Unit testing Zend Framework Models with PHPUnit
A new project created by the ZF command line tool (zf) will have a default IndexControllerTest in the tests folder. The test class inherits from Zend_Test_PHPUnit_ControllerTestCaseand provides a good...
View ArticleRunning PHPUnit from Eclipse on a remote system
For the last few years I’ve been using virtual machine to keep my dev Linux isolated from my desktop. Recently I decided to improve my test driven development by integrating PHPUnit with Eclipse. I...
View ArticleCode faster with Unit Testing
Wait a minute! How can you possibly code faster when in fact you have to write more code? Test Driven Development requires additional (redundant?!) classes which only duplicates work. The “redundant”...
View ArticleIntroduction to Test Driven Development
Yesterday I had a great pleasure to speak at Green Room about Test Driven Development. This was my first speech ever and despite the stress it was fun doing it. A warm thanks to all participants for...
View ArticleContinuous Integration for PHP with Jenkins
Today I would like to show you how to setup an continues integration server for a PHP project with Jenkins. If you don’t know what the continues integration is have a look at Wikipedia. In a simple...
View Article