wiki.techinc.nl/tests/phpunit/structure
Daimona Eaytoy b04576b3be phpunit: Sync phpunit.xml.dist with tests/phpunit/suite.xml
Since the latter is going to be removed, make sure that the former has
everything we need. In particular:
- Add failOnRisky=true from suite.xml
- Reorder config options and add comment about stderr from suite.xml
- Remove non-existent tests/phpunit/skins and
  tests/phpunit/documentation from the test suites. These cause an error
  when trying to run all the suites with `composer phpunit`.
- Leave the other suites as they are. Compared to suite.xml,
  phpunit.xml.dist has separate suites for core, extensions, and skins
  unit tests.
- Leave includeUncoveredFiles to false. The rationale in
  I3d19627fa36f6cc6666c29fdb638272fdaa30630 seems convincing. CI already
  sets it to true: https://w.wiki/72qE
- Leave slowThreshold to 100 as per
  Ia6ed404d4d4cc8a7b4b8a48b232f644f400f8103. I believe that change
  simply missed suite.xml. The same rationale that led to the threshold
  being increased for unit tests is valid a fortiori for integration
  tests, which are generally slower.

Rename SuiteDirectoryTest and make it check phpunit.xml.dist too.

Bug: T227900
Change-Id: Ib4b47b337870dffc61dd44817a21d11809075d5b
2023-07-14 20:59:42 +00:00
..
AbstractSchemaValidationTest.php Add @coversNothing to all structure tests 2022-10-07 03:21:54 +02:00
ApiPrefixUniquenessTest.php ApiPrefixUniquenessTest: Drop wbeu hack 2023-05-26 15:36:26 +02:00
ApiStructureTest.php tests: Avoid DB queries in ApiStructureTest::provideParameters 2023-07-12 23:18:41 +02:00
AutoLoaderStructureTest.php Replace substr with cleaner string methods 2023-05-20 15:40:21 +02:00
AvailableRightsTest.php AvailableRightsTest::checkMessagesExist: Point to doc, like testAvailableRights 2023-05-30 08:22:58 -04:00
BundleSizeTest.php BundleSizeTest: use a provider 2023-05-16 00:42:48 +00:00
CodexTokenDefaultsTest.php mediawiki.skin.defaults.less: Add neutral values for all Codex tokens 2023-03-15 17:23:51 -07:00
ContentHandlerFunctionalTest.php Add @coversNothing to all structure tests 2022-10-07 03:21:54 +02:00
DatabaseIntegrationTest.php Add @coversNothing to all structure tests 2022-10-07 03:21:54 +02:00
DumpableObjectsTest.php tests: Use Title::makeTitle instead of Title::newFromText 2023-06-19 21:54:57 +02:00
ExtensionJsonValidationTest.php Add @coversNothing to all structure tests 2022-10-07 03:21:54 +02:00
PasswordPolicyStructureTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
PHPUnitConfigTest.php phpunit: Sync phpunit.xml.dist with tests/phpunit/suite.xml 2023-07-14 20:59:42 +00:00
ResourcesTest.php Reenable "RedundantTargets" test 2023-06-09 10:40:28 +02:00
RestStructureTest.php Reorg: Namespace the Title class 2023-03-02 08:46:53 -05:00
ScopeStructureTest.php Add @coversNothing to all structure tests 2022-10-07 03:21:54 +02:00
SettingsTest.php tests: Make some PHPUnit data providers static 2023-03-24 02:53:57 +00:00
SpecialPageFatalTest.php tests: Do not hide deprecation in SpecialPageFatalTest 2022-12-16 13:04:45 +00:00
StructureTest.php Add @coversNothing to all structure tests 2022-10-07 03:21:54 +02:00