Video: Testing Your Web Forms with Zend_Test and PHPUnit
Many developers manually test their web forms, repeatedly and exhaustively entering and submitting test data. However, this approach is tedious, time-consuming, and error prone, causing the developer to second-guess the form implementation throughout the course of the project, particularly when certain features inevitably change.
Automating the testing process with a testing framework is a much more sane approach. PHP programmers have long had several such frameworks at their disposal, including notably PHPUnit. PHPUnit is so popular that the Zend Framework is packaged with a component called Zend_Test, which integrates with PHPUnit to provide developers with a powerful and convenient way to test their Web applications, including forms.
In this screencast, you'll be introduced to two easy ways to begin testing your Zend Framework forms using PHPUnit and the Zend_Test component.