wiki.techinc.nl/tests/selenium/installer
Hoo man 8ffbb077b3 Use __DIR__ instead of dirname( __FILE__ )
Removed left over uses of dirname( __FILE__ ) to __DIR__, even in comments.
Running the PHP version test in maintenance/Maintenance.php earlier, so that
we no longer have to stay PHP < 5.3 compatible in there.

Change-Id: I5a00bd5c6af44b7f826c4e5576a7b3de7b5026d8
2012-08-27 23:58:28 +02:00
..
MediaWikiButtonsAvailabilityTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiDifferentDatabaseAccountTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
MediaWikiDifferntDatabasePrefixTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
MediaWikiErrorsConnectToDatabasePageTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
MediaWikiErrorsNamepageTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
MediaWikiHelpFieldHintTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
MediaWikiInstallationCommonFunction.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiInstallationConfig.php
MediaWikiInstallationMessage.php
MediaWikiInstallationVariables.php
MediaWikiInstallerTestSuite.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 21:45:00 +02:00
MediaWikiMySQLDataBaseTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiMySQLiteDataBaseTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiOnAlreadyInstalledTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiRestartInstallationTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiRightFrameworkLinksTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiUpgradeExistingDatabaseTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
MediaWikiUserInterfaceTestCase.php Use __DIR__ instead of dirname( __FILE__ ) 2012-08-27 23:58:28 +02:00
README.txt

== 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)