Getting started with Zend_Test – Step 3: Make sure PHPUnit is ready for testing

Now that we’ve installed PEAR and PHPUnit, we can verify that PHPUnit is working correctly by writing our first test.
Since we installed PHPUnit through PEAR, and we have properly configured our include_path variable in our php.ini file, we can create our test files anywhere and PHP will know where to look to find PHPUnit. So [...]

Getting started with Zend_Test – Step 1: Setting up PEAR on Mac OS X 10.5 (Leopard)

Question: How do I get started using Zend_Test? What is the process necessary to start using Zend_Test for testing my Zend Framework application?

Answer: Zend_Test extends PHPUnit. Therefore, we need to start by installing PHPUnit. The easiest way to install PHPUnit is by installing PEAR. Therefore…you get the idea. We need PEAR. I’ll walk you through the process I took to install PEAR on Mac OS X 10.5 (Leopard).

Contact Form