Index: trunk/phase3/tests/selenium/installer/README.txt |
— | — | @@ -0,0 +1,32 @@ |
| 2 | +== Details== |
| 3 | + |
| 4 | +Automated Selenium test scripts written for MediaWiki Installer is available at svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/tests/selenium/installer. |
| 5 | +Detailed test cases available at http://www.mediawiki.org/wiki/New_installer/Test_plan. |
| 6 | + |
| 7 | +Version : MediaWiki 1.18alpha |
| 8 | +Date : 27/12/2010 |
| 9 | + |
| 10 | +== Running tests == |
| 11 | + |
| 12 | +Test cases can be run independently or can run all the test cases using MediaWikiInstallerTestSuite.php within PHPUnit/Selenium. |
| 13 | + |
| 14 | + |
| 15 | +== Dependencies == |
| 16 | + |
| 17 | +MediaWikiInstallationConfig.php |
| 18 | + |
| 19 | +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. |
| 20 | +You need to change the value of the 'DB_NAME_PREFIX' in MediaWikiInstallationConfig everytime you planned to |
| 21 | +run the tests. |
| 22 | +'DIRECTORY_NAME', 'PORT' and the 'HOST_NAME' should be replaced with your local values. |
| 23 | +You may specify the test browser you wish to run the test using 'TEST_BROWSER'. Default browser is Firefox. |
| 24 | + |
| 25 | +Note : MediaWikiInstallerTestSuite.php has no dependency on 'Selenium' test framework. |
| 26 | + |
| 27 | + |
| 28 | +== Known problems == |
| 29 | + |
| 30 | +If you run the MediaWikiInstallerTestSuite.php twice without changing the name of the database, the second run should be falied. |
| 31 | +(Please read the more information on how to change the database name which is avaialable under 'Dependencies' section) |
| 32 | + |
| 33 | + |
Property changes on: trunk/phase3/tests/selenium/installer/README.txt |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 34 | + native |