wiki.techinc.nl/tests
Chad Horohoe 26505b170a Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself.
Until now, we relied on setting MW_NO_SETUP which was a) hacky, b) irreversable, and c) likely to be forgotten if you didn't use one of the wrappers like runChild().

Instead, move the freaky magic to doMaintenance and have *it* check if it's in a specific call stack that indicates this is being run from the file scope and should be executed. Rename DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN so it's nice and clear what magic happens behind the require_once().
2011-01-13 22:58:55 +00:00
..
parser Horrible tabsoup converted to spaces 2011-01-09 11:12:06 +00:00
phpunit Mark as needing a Database, as noted in r79532 CR. 2011-01-13 17:51:25 +00:00
selenium New test database resource file with some test configuration changes for it. Follow up to r79421 and r79982 2011-01-11 01:01:54 +00:00
.htaccess Followup r78383: deny tests from web 2010-12-15 16:26:26 +00:00
parserTests.php Fix encoding 2011-01-09 10:56:46 +00:00
RunSeleniumTests.php Fix concern raised by Brion in r74108 (but has really existed since the maintenance rewrite). Right now, including a maintenance script causes it to execute. This is bad when you want to reuse the particular class but not have it start executing all by itself. 2011-01-13 22:58:55 +00:00
testHelpers.inc Start work on porting ParserTests completely into PHPunit. 2011-01-01 03:39:37 +00:00
TestsAutoLoader.php Followup r79443: Add some form of organization to the test autoloader 2011-01-01 22:16:54 +00:00