Quantcast
Channel: PHPDeveloper.org
Viewing all articles
Browse latest Browse all 11

VG Tech Blog: Selenium Tests

$
0
0

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.

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

Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images