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

NetTuts.com:
How to Use Selenium 2 With PHPUnit
Oct 15, 2012 @ 14:40:01

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).

tagged: screencast selenium2 browser testing phpunit tutorial

Link:


Trending Topics: