From 28dc4088130cf10d021eefd163ad534ef756fe88 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 23 May 2020 15:02:55 +0200 Subject: Update and fix the test/README Signed-off-by: William Desportes --- test/README.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'test/README.rst') diff --git a/test/README.rst b/test/README.rst index 0913c347bd..99c838567b 100644 --- a/test/README.rst +++ b/test/README.rst @@ -7,7 +7,7 @@ For more information on allowing http access to this directory see: https://httpd.apache.org/docs/current/mod/mod_authz_host.html#allow Please visit the wiki for more information on unit testing: -https://wiki.phpmyadmin.net/pma/UnitTesting +https://wiki.phpmyadmin.net/pma/Unit_Testing Selenium tests -------------- @@ -16,14 +16,12 @@ To be able to run Selenium tests, you need to have webserver, database and Selenium running. Following environment variables configure where testsuite connects: -TESTSUITE_SERVER - Database server to use. TESTSUITE_USER - Username for connecting to database. + Username to connect on the interface located at TESTSUITE_URL TESTSUITE_PASSWORD - Password for connecting to database. -TESTSUITE_DATABASE - Database to use for testing. + Password to connect on the interface located at TESTSUITE_URL +TESTSUITE_DATABASE_PREFIX + Database prefix to use for testing (Avoid database grouping characters like _). TESTSUITE_URL URL where tested phpMyAdmin is available. @@ -84,4 +82,7 @@ Following instructions use PHP's built in server for the testing:: php --server 127.0.0.1:$TESTSUITE_PORT > php.log & # Start BrowserStack Local client to forward the traffic - ~/browserstack/BrowserStackLocal -localIdentifier Manual "$TESTSUITE_BROWSERSTACK_KEY" 127.0.0.1,$TESTSUITE_PORT,0 & + ~/browserstack/BrowserStackLocal -localIdentifier Manual "$TESTSUITE_BROWSERSTACK_KEY" 127.0.0.1,$TESTSUITE_PORT,0 & + + # Stop BrowserStack Local + ~/browserstack/BrowserStackLocal --daemon stop -- cgit v1.2.3