From: Guillaume (ioguix) de Rorthais Date: Tue, 28 Oct 2008 00:01:45 +0000 (-0400) Subject: Add the README about how to use the new selenium tests architecture X-Git-Tag: REL_5-0-BETA-1~144 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=fd73c5f02cd6a6980feab6ea04f46ec63fca5f6a;p=phppgadmin.git Add the README about how to use the new selenium tests architecture --- diff --git a/tests/selenium/README b/tests/selenium/README new file mode 100644 index 00000000..5539a794 --- /dev/null +++ b/tests/selenium/README @@ -0,0 +1,14 @@ +The tests are runned on ALL the configured servers in your ./conf/config.inc.php. + +To run the tests follow the following steps : +1/ Configure your ./conf/config.inc.php with all the servers you want to run the tests on. +2/ Create & configure your ./tests/config.test.php (See sample one in ./tests/config.inc.php-dist). +3/ Run the ./build_tests.php script + This script build the TestSuite.html file and all the related html tests files in ./tests/selenium/static/. + It build one directory for each server configured in your conf/config.inc.php + and create the static selenium html test files for each of them. +4/ open your browser and go to http://$webUrl/ + Where $webUrl is the value setted in your ./tests/config.inc.php +5/ click on "Selenium tests" on the PPA intro page & run the tests using the "Selenium TestRunner" buttons in the top-right frame. + +Enjoy the tests.