summaryrefslogtreecommitdiff
path: root/tests/selenium/installer/README.txt
blob: bc880a8ba80113bb6b537e0d7c4d1f8b305c1ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
== Details==

Automated Selenium test scripts written for MediaWiki Installer is available at https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=tree;f=tests/selenium/installer;hb=HEAD.
Detailed test cases available at http://www.mediawiki.org/wiki/New_installer/Test_plan.

Version : MediaWiki 1.18alpha
Date 	: 27/12/2010

== Running tests ==

Test cases can be run independently or can run all the test cases using MediaWikiInstallerTestSuite.php within PHPUnit/Selenium.


== Dependencies == 

MediaWikiInstallationConfig.php

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.
You need to change the value of the 'DB_NAME_PREFIX' in MediaWikiInstallationConfig everytime you planned to
run the tests.
'DIRECTORY_NAME', 'PORT' and the 'HOST_NAME' should be replaced with your local values.
You may specify the test browser you wish to run the test using 'TEST_BROWSER'.  Default browser is Firefox.

Note : MediaWikiInstallerTestSuite.php has no dependency on 'Selenium' test framework.


== Known problems ==

If you run the MediaWikiInstallerTestSuite.php twice without changing the name of the database, the second run should be falied.
(Please read the more information on how to change the database name which is avaialable under 'Dependencies' section)