Gitweb -> Gitblit
[lhc/web/wiklou.git] / tests / selenium / installer / README.txt
1 == Details==
2
3 Automated Selenium test scripts written for MediaWiki Installer is available at https://git.wikimedia.org/tree/mediawiki%2Fcore.git/HEAD/tests%2Fselenium%2Finstaller.
4 Detailed test cases available at http://www.mediawiki.org/wiki/New_installer/Test_plan.
5
6 Version : MediaWiki 1.18alpha
7 Date : 27/12/2010
8
9 == Running tests ==
10
11 Test cases can be run independently or can run all the test cases using MediaWikiInstallerTestSuite.php within PHPUnit/Selenium.
12
13
14 == Dependencies ==
15
16 MediaWikiInstallationConfig.php
17
18 Value of the 'DB_NAME_PREFIX' should be replace with the database name prefix. Several DB instances will get created to cover different installation scenarios starting with the above prefix.
19 You need to change the value of the 'DB_NAME_PREFIX' in MediaWikiInstallationConfig everytime you planned to
20 run the tests.
21 'DIRECTORY_NAME', 'PORT' and the 'HOST_NAME' should be replaced with your local values.
22 You may specify the test browser you wish to run the test using 'TEST_BROWSER'. Default browser is Firefox.
23
24 Note : MediaWikiInstallerTestSuite.php has no dependency on 'Selenium' test framework.
25
26
27 == Known problems ==
28
29 If you run the MediaWikiInstallerTestSuite.php twice without changing the name of the database, the second run should be falied.
30 (Please read the more information on how to change the database name which is avaialable under 'Dependencies' section)
31
32