Tag Archives: phpunit

Unit Testing your HTTP Requests

A couple days ago, Till Klampaeckel just posted a very interesting plugin for PHPUnit that helps you debug your Zend Controller testcases by providing header information. He’s posted the code on GitHub and provided a real-world example of how to use the plugin for debugging your unit tests effectively. This approach takes advantage of the…

Writing Doctrine Unit Tests with Zend_Test

Building on the Introduction to Doctrine 1.2 video, this video will show how you can easily test the persistence of Doctrine models within the Zend_Test environment. I also touch briefly on how to setup the latest version of MAMP with phpunit. Edit: I spoke to Guilherme Blanco (one of the core developers behind Doctrine) and…

Zend Acl with Authentication and Reflection

This video tutorial is going to look at how we can build a simple authentication mechanism with Zend_Acl with complete unit test coverage. I wouldn’t say that this is entirely the Zend way of doing things since we’re not using Zend_Auth, however it would be relatively trivial to create a Zend_Auth Adapter for each of…

Unit Testing with the Zend Framework with Zend_Test and PHPUnit

I have to preface this video by saying that I’m still a bit of a novice when it comes to unit testing (especially in Zend). Also, I feel that I wouldn’t be able to take credit for the whole implementation. Here are some great resources on unit testing in the Zend Framework to beef up…

Support Forum

Ask questions, help others and comment at the Zendcasts Forum.

Advertise

learn more about advertising on zendcasts.