wiki.techinc.nl/tests/phpunit/unit
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
..
documentation
includes rdbms: fix table prefixing in "FOR UPDATE" clause generation in Postgres 2025-06-24 22:33:30 +01:00
languages tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
maintenance tests: Use namespaced classes 2024-10-21 18:53:02 +02:00
tests tests: Use GLOB_BRACE in JsonSchemaAssertionTraitTest 2025-05-21 19:49:18 +00:00
ScopeStructureTest.php tests: move slow ScopeStructureTest out of structure 2025-07-01 13:02:37 +00:00