[Phpmyadmin-devel] Automated testing

Marc Delisle marc at infomarc.info
Wed Jul 15 13:03:35 CEST 2009


Herman van Rink a écrit :
> Hi,
> 
> I've played around with phpunit a bit as of late, and think we could
> make better use of this for pma.
> 
> The PMA_formatNumberByteDown_test test still fails for me on a
> conversion....  does this pass on other systems?

Fails for me too.
> 
> I've setup several  new testcases that uses Selenium RC [1] to replay
> actual browser behaviour.
> My first test in this is a case where I log in and do some basic
> browsing and change the test users password.
> The test scenario's are easily recorded using the Firefox Selenium IDE
> add-on. [2]
> Testing can happen in Firefox, Internet Explorer and other browsers.
> 
> 
> I've set up a cronjob which would run the test suite e.g. every day on
> trunk, and plan to expand this to the latest testing branch. Any errors
> would be mailed to me. If others are interested I could sent this to a
> list address.

Good initiative, Herman! I was wondering about Selenium but never took 
the time to try it.

Do you think that the learning curve is appropriate enough, so that we 
could launch a TestFest, asking groups to build Selenium tests for the 
project?


-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list