March 1, 2021
Hot Topics:

Video: Testing Your Web Forms with Zend_Test and PHPUnit

  • By Jason Gilmore
  • Send Email »
  • More Articles »

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.

Originally published on https://www.developer.com.

This article was originally published on February 23, 2011

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date