News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Acceptance Testing of Web Applications with PHP
June 27, 2007 @ 15:45:00

From the Zend Developer Zone, there's a tutorial covering acceptance testing of web applications, specifically using PHPUnit and Selenium.

In this article I introduce the topic of Acceptance Testing (aka Functional Testing), something more PHP programmers should be starting to practice. I'm sure many of us are well aware of Unit Testing and even Integration Testing so where does this third wheel come into play for web applications given our growing obsession with Web 2.0 and AJAX and how does it differ from the former two practices? Below I'll explain this.

They start by asking "Why acceptance testing?" at all with an answer of "it's not about isolated testing, but testing as a whole". The rest of the article is broken up into several parts:

  • Of User Stories and Acceptance Tests
  • The Iteration Plan
  • Preparing For Acceptance Testing (setting up PHPUnit and Selenium)
  • Writing And Running The Acceptance Tests
  • How to run the tests

In their example they show how to validate that a login on the site works as expected (including interacting with a form on the page).

0 comments voice your opinion now!
acceptance testing application phpunit selenium acceptance testing application phpunit selenium


blog comments powered by Disqus

Similar Posts

Paul Gregg's Blog: Want to try out the next major version of Delphi for PHP?

Sound of Symfony: Episode 2 - Let's talk about tests

/Dev/Hell Podcast: Episode 30: It's Episode 30, You Guys

Kevin Schroeder's Blog: How to (properly) evaluate Zend Server - Introduction

NetTuts.com: Organizing Enterprise-Level Applications


Community Events





Don't see your event here?
Let us know!


introduction interview symfony2 laravel developer opinion list code podcast release refactor api framework unittest community threedevsandamaybe install language series testing

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework