News Feed
Sections




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

VG Tech Blog:
Selenium Tests
June 21, 2013 @ 11:26:30

On the VG Tech blog today there's a new post introducing Selenium testing to those that might not have heard of it before for functional testing. It's a powerful tool that can even be used from inside PHPUnit tests to automate evaluation of your frontend application.

When we develop code at VG we have started to use Selenium tests for continuous integration. This allows us to easy write tests that programmatically checks that last commit didn't break anything.

He describes some of the types of tests Selenium can do and mentions the IDE that can hook into Firefox and record your actions and translate them into tests. This includes the ability to export them to PHPUnit tests (sample code provided) that extend the "PHPUnit_Extensions_SeleniumTestCase." An example screenshot of what the IDE running looks like is also included.

0 comments voice your opinion now!
selenium test introduction phpunit export ide firefox

Link: http://tech.vg.no/2013/06/14/selenium-tests

blog comments powered by Disqus

Similar Posts

PHPMaster.com: Understanding the Factory Method Design Pattern

ThinkPHP.de: Import and export data using PHPExcel

PHPMaster.com: Taking Advantage of PHP's Built-in Server

NETTUTS.com: MVC for Noobs

Chris Hartjes: The Grumpy Programmer's PHPUnit Cookbook


Community Events





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


version voicesoftheelephpant install tool library security introduction update release podcast interview opinion symfony series framework laravel community language composer package

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