views:

28

answers:

1

Is it possible to use PHPUnit as an alternative to Selenium to do GUI testing? My impression is that it is just a generic testing framework and can't handle javascript, dom and other GUI aspects.

Right now I am running php+selenium rc+firefox and the overhead of the java selenium server och actually running the firefox gui makes me worry about stability and performance. GUI testing, however, works great...

A: 

Zend_Test_PhpUnit has many of functional testing features that Selenium does. Give it a try.

Zend Framework: Documentation: Zend_Test_PHPUnit

takeshin