2012年10月15日星期一

NetTuts.com: How to Use Selenium 2 With PHPUnit


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

没有评论:

发表评论