PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

NetTuts.com: How to Use Selenium 2 With PHPUnit

Note: This article was originally published at PHPDeveloper on 16 October 2012.
PHPDeveloper

NetTuts.com has continued their look at testing in PHP applications with this new screencast showing how to combine one of the most popular PHP unit testing tools, PHPUnit, with the Selenium frontend testing tool for automated application testing.

In this lesson, we will learn how to work with Selenium 2 directly within PHPUnit. For those unfamiliar, Selenium gives us an easy way to automate the browser. This makes it perfect for writing user acceptances tests.

You can download the source for the files and tests that they use in the demo. You can find links to the other articles in their testing series here (covering things like TDD, basic PHPUnit testing and definitions of some of the most common testing terms).