dcsimg
June 22, 2018
Hot Topics:

Video: Testing Your Web Forms with Zend_Test and PHPUnit

  • February 23, 2011
  • 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.


Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

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

By submitting your information, you agree that developer.com may send you developer offers via email, phone and text message, as well as email offers about other products and services that developer believes may be of interest to you. developer will process your information in accordance with the Quinstreet Privacy Policy.

Sitemap

×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date