Signed-off-by: Smita Kumari <kumarismita62@gmail.com> fixing indentation in mult_submits.inc.php Signed-off-by: Smita Kumari <kumarismita62@gmail.com> naming convention,typos, indentaion fix and removed unnecessory file db_sync_central_columns.php Signed-off-by: Smita Kumari <kumarismita62@gmail.com> check if central columns storage is configured, if not configured don't show the option to sync/remove Signed-off-by: Smita Kumari <kumarismita62@gmail.com> add/remove columns to central list of columns from tbl_structure page Signed-off-by: Smita Kumari <kumarismita62@gmail.com> added icon image for central columns add/delete Signed-off-by: Smita Kumari <kumarismita62@gmail.com> add/remove of columns option in tbl_structure page in columns rows depending upon if column is already present in central columns or not Signed-off-by: Smita Kumari <kumarismita62@gmail.com> fixed php notices, apporiprate message when a non existing column is removed and when a existing column is added to cenral list Signed-off-by: Smita Kumari <kumarismita62@gmail.com> documentation added for central_columns configuration Signed-off-by: Smita Kumari <kumarismita62@gmail.com> regenerated sprite Signed-off-by: Smita Kumari <kumarismita62@gmail.com> changed central_columns table structure + modified functions to add to central column as per new tbl def updated delete and other function as per new db structure Signed-off-by: Smita Kumari <kumarismita62@gmail.com> remove notices Signed-off-by: Smita Kumari <kumarismita62@gmail.com> sprintf for variable message Signed-off-by: Smita Kumari <kumarismita62@gmail.com> fix unit test failure errors Signed-off-by: Smita Kumari <kumarismita62@gmail.com> fixed whitespace issues plus function definition Signed-off-by: Smita Kumari <kumarismita62@gmail.com> refactoring code plus fixing coding style issues Signed-off-by: Smita Kumari <kumarismita62@gmail.com> |
||
|---|---|---|
| .. | ||
| classes | ||
| engines | ||
| libraries | ||
| selenium | ||
| test_data | ||
| .htaccess | ||
| AllSeleniumTests.php | ||
| bootstrap-dist.php | ||
| Environment_test.php | ||
| README.rst | ||
| theme.php | ||
| travis.php.ini | ||
| wui.php | ||
PhpMyAdmin test suite
=====================
This directory is protected from web visitors by a .htaccess file.
For more information on allowing http access to this directory see:
http://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
Selenium tests
--------------
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.
TESTSUITE_PASSWORD
Password for connecting to database.
TESTSUITE_DATABASE
Database to use for testing.
TESTSUITE_URL
URL where tested phpMyAdmin is available.
Additionally you need to configure link to Selenium and browsers. You
can either setup Selenium locally or use BrowserStack automated testing.
For local setup, define following:
TESTSUITE_SELENIUM_HOST
Host where Selenium is running.
TESTSUITE_SELENIUM_PORT
Port where to connect.
TESTSUITE_SELENIUM_BROWSER
Browser to use for testing inside Selenium.
With BrowserStack, set following:
TESTSUITE_BROWSERSTACK_UNAME
BrowserStack username.
TESTSUITE_BROWSERSTACK_KEY
BrowserStack access key.
For example you can use following setup in ``phpunit.xml``::
<php>
<env name="TESTSUITE_SERVER" value="localhost"/>
<env name="TESTSUITE_USER" value="root"/>
<env name="TESTSUITE_PASSWORD" value="root"/>
<env name="TESTSUITE_DATABASE" value="test"/>
<env name="TESTSUITE_PHPMYADMIN_HOST" value="http://localhost/phpmyadmin/" />
<env name="TESTSUITE_SELENIUM_HOST" value="127.0.0.1" />
<env name="TESTSUITE_SELENIUM_PORT" value="4444" />
</php>