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 your knowledge.

The trouble with these is that they’re mostly pre-1.8. I’ve taken the approach of using a command line instead of the IDE since this way it doesn’t matter if you’re using Zend Studio for Eclipse.

What’s covered:

  • Using phpunit with MAMP
  • Unit Testing Models
  • Generating Code Coverage Reports
  • Unit Testing Controllers

Don’t forget to grab the source code or browse it on google code.

Description

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…

Tags

, , ,

Related