Home / wiki / maintenance / tests
Name Modified Size InfoDownloads / Week
Parent folder
XmlTest.php 2011-03-17 2.6 kB
TimeAdjustTest.php 2011-03-17 1.2 kB
TitleTest.php 2011-03-17 539 Bytes
test-prefetch-previous.xml 2011-03-17 2.0 kB
test-prefetch-stub.xml 2011-03-17 2.4 kB
SiteConfigurationTest.php 2011-03-17 8.6 kB
test-prefetch-current.xml 2011-03-17 2.5 kB
SearchUpdateTest.php 2011-03-17 2.5 kB
SearchEngineTest.php 2011-03-17 3.7 kB
SearchMySQLTest.php 2011-03-17 536 Bytes
RevisionTest.php 2011-03-17 3.7 kB
SanitizerTest.php 2011-03-17 1.8 kB
MediaWikiParserTest.php 2011-03-17 7.2 kB
phpunit.xml 2011-03-17 530 Bytes
README 2011-03-17 809 Bytes
MediaWiki_Setup.php 2011-03-17 693 Bytes
LocalFileTest.php 2011-03-17 4.1 kB
Makefile 2011-03-17 536 Bytes
LanguageConverterTest.php 2011-03-17 5.2 kB
LicensesTest.php 2011-03-17 272 Bytes
HttpTest.php 2011-03-17 21.9 kB
IPTest.php 2011-03-17 1.3 kB
ImageFunctionsTest.php 2011-03-17 987 Bytes
GlobalTest.php 2011-03-17 5.7 kB
DatabaseTest.php 2011-03-17 2.3 kB
ApiTest.php 2011-03-17 5.4 kB
CdbTest.php 2011-03-17 1.6 kB
DatabaseSqliteTest.php 2011-03-17 1.8 kB
bootstrap.php 2011-03-17 350 Bytes
ApiSetup.php 2011-03-17 1.1 kB
Totals: 30 Items   93.9 kB 0
Some quickie unit tests done with the PHPUnit testing framework. To run the
test suite, run 'make test' in this dir. This directly invokes 'phpunit.'

PHPUnit is no longer maintained by PEAR. To get the current version of
PHPUnit, first uninstall any old version of PHPUnit or PHPUnit2 from PEAR, 
then install the current version from phpunit.de like this:

# pear channel-discover pear.phpunit.de
# pear install phpunit/PHPUnit

You also may wish to install this via your normal package mechanism:

# aptitude install phpunit
 - or -
# yum install phpunit

Notes:
- Label currently broken tests in the group Broken and they will not
  be run by phpunit.  You can add them to the group by putting the
  following comment at the top of the file:
  /**
   * @group Broken
   */
- Need to fix some broken tests
Source: README, updated 2011-03-17