wiki.techinc.nl/tests/phpunit/includes/api
daniel a8995619c1 Avoid rebuilding database fixtures for every test run
This reduces the runtime of database-bound tests by about 40%
(on my system, from 4:55 to 2:47; results from Jenkins are
inconclusive).

The basic idea is to call addCoreDBData() only once, and have
a addDBDataOnce() that is called once per test class, not for
every test method lie addDBData() is. Most tests could be
trivially be changed to implement addDBDataOnce() instead of
addDBData(). The ones for which this did not work immediately
were left out for now. A closer look at the tests that still
implement addDBData() may reveal additional potential for
improvement.

TODO: Once this is merged, try to change addDBData() to
addDBDataOnce() where possible in extensions.

Change-Id: Iec4ed4c8419fb4ad87e6710de808863ede9998b7
2016-03-10 23:44:34 +00:00
..
format Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
query Avoid rebuilding database fixtures for every test run 2016-03-10 23:44:34 +00:00
ApiBaseTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiBlockTest.php Avoid rebuilding database fixtures for every test run 2016-03-10 23:44:34 +00:00
ApiContinuationManagerTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiCreateAccountTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiEditPageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiErrorFormatterTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiLoginTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiMainTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiMessageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiModuleManagerTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiOptionsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiPageSetTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiParseTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiPurgeTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiQueryAllPagesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiResultTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiRevisionDeleteTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiTestCase.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiTestCaseUpload.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiTestContext.php Fixed some @params documentation (tests) 2014-04-17 20:43:42 +02:00
ApiTokensTest.php Split ApiTest class into seperate module classes 2013-11-05 12:40:50 +01:00
ApiUnblockTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiUploadTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ApiWatchTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
generateRandomImages.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MockApi.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MockApiQueryBase.php API: Overhaul ApiResult, make format=xml not throw, and add json formatversion 2015-04-10 16:57:15 -04:00
PrefixUniquenessTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RandomImageGenerator.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
UserWrapper.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
words.txt Add words.txt for us Windows users. This is a random selection of 1000 words from gnuwin32 miscfiles package 2011-07-15 17:13:24 +00:00