* create default object to avoid PHP notices in ArticleTest * remove broken constructor in SearchMySQL4Test * remove pass by ref to avoid PHP warnings in SearchEngineTest |
||
|---|---|---|
| .. | ||
| .htaccess | ||
| .svnignore | ||
| ArticleTest.php | ||
| DatabaseTest.php | ||
| GlobalTest.php | ||
| ImageFunctionsTest.php | ||
| LocalFileTest.php | ||
| Makefile | ||
| MediaWiki_TestCase.php | ||
| README | ||
| run-test.php | ||
| SearchEngineTest.php | ||
| SearchMySQL4Test.php | ||
| test-prefetch-current.xml | ||
| test-prefetch-previous.xml | ||
| test-prefetch-stub.xml | ||
Some quickie unit tests done with the PHPUnit testing framework. To run the test suite, run 'make test' in this dir or 'php RunTests.php' 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