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.
Video source: http://net.tutsplus.com/tutorials/php/how-to-use-selenium-2-with-phpunit/