wiki.techinc.nl/tests/phpunit/structure
Antoine Musso c1cd8d8b1e tests: move slow ScopeStructureTest out of structure
While looking at the list of tests for an extension I found 3000+
ScopeStructureTest which are generated from the php files in
mediawiki/core (more precisely `$wgAutoloadLocalClasses`):
* those tests take 21 seconds to complete on my machine.
* None were generated for the extension being tested, those tests are
  thus solely affected by mediawiki/core.

`tests/phpunit/structure` is included in the `extensions` and `skins`
PHPUnit testsuites and any patches made to them would run that 21
seconds suite even though its only testing mediawiki/core.

Move the test outside of `structure` so it is no longer run for
`extensions` and `skins`.

Bug: T225730
Change-Id: I628210b8b270773f3dad12bbde9d72f0328fcceb
(cherry picked from commit d10835b8bc933a49724010f0c39dfeaccfa9108c)
2025-07-01 13:02:37 +00:00
..
AbstractSchemaValidationTest.php
ApiPrefixUniquenessTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
ApiStructureTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
AutoLoaderStructureTest.php structure tests: allow PHP 8.1 syntax and autoload enums 2025-06-18 10:55:15 +01:00
AvailableRightsTest.php Use MediaWikiIntegrationTestCase::getConfVar in tests 2024-08-06 12:52:34 +00:00
BundleSizeTestBase.php tests: Consistently use class_alias comments like elsewhere 2024-09-25 09:48:46 -04:00
CodexMessageDefinitionTest.php tests: Add a test for Codex i18n messages 2024-08-12 15:30:11 -07:00
CodexTokenDefaultsTest.php
ContentHandlerFunctionalTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
DatabaseIntegrationTest.php
DumpableObjectsTest.php Add DumpableObjectsTest to the database test group 2024-11-08 14:37:40 +00:00
ExtensionJsonValidationTest.php Add MediaWiki\Registration namespace to registration classes 2024-08-10 10:08:22 +00:00
PasswordPolicyStructureTest.php
PHPUnitConfigTest.php
ResourcesTest.php tests: Validate Resources.php against ResourceModules schema 2024-10-07 21:10:52 +00:00
RestStructureTest.php tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
SettingsTest.php Add MediaWiki\Registration namespace to registration classes 2024-08-10 10:08:22 +00:00
SpecialPageFatalTest.php
StructureTest.php