April 19, 2014
Hot Topics:
RSS RSS feed Download our iPhone app

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.


Tags: PHP, Zend, testing




Comment and Contribute

 


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

 

 


Sitemap | Contact Us

Rocket Fuel