To get PHPUnit & Zend_Test working with zend framework 1.8, follow these links:
For use with Zend Framework 1.8:
Set up a Zend Framework application using Zend_Application (including PHPUnit setup) mafflog
For use with versions before 1.8, view Matthew's post - this article is also a good overview, and it's an easy read:
Setting up your Zend_Test test suites - phly, boy, phly
For an example, as well as a more in-depth look at creating test cases:
tests/controllers/IndexControllerTest.php at b796ad0e5905e46b312a5b904a2a80c3ed8ff808 from weierophinney's pastebin - GitHub
Last edited by mark2331; 06-16-2009 at 04:13 PM.