wiki.techinc.nl/tests/phpunit/structure
Petr Pchelko e36a8af70e First pass on creating config-schema.yaml
The config-schema.yaml follows the settings file format.
It's not used in reality yet, but tests were added
to compare the yaml with the result of DefaultSettings.php
importing.

The list of properties not yet included:
 - 'wgVersion' - deprecated alias to MW_VERSION
 - 'wgConf' - instance of SiteConfiguration
 - 'wgStyleSheetPath' - alias to another global
 - 'wgExtensionDirectory', - depends on $IP
 - 'wgStyleDirectory' - depends on $IP
 - 'wgServiceWiringFiles' - depends on __DIR__
 - 'wgHTTPMaxTimeout' - infinity default
 - 'wgHTTPMaxConnectTimeout', - Infinity default

The PHPDoc was copied over as is into description fields,
it will be converted to something more pleasant in a separate
iteration.

The types were parsed out of PHPDoc and fixed up manually.

Default values come from executing DefaultSettings and serializing
the values into YAML.

Change-Id: I9aa9ad9713bdbdac2bd7b528c609772154b5a135
2022-01-19 10:02:51 -08:00
..
ApiPrefixUniquenessTest.php api: Inject services into ApiQuery class 2021-09-17 00:57:37 +02:00
ApiStructureTest.php Remove or replace usages of "sanity" 2021-11-21 16:42:31 +00:00
AutoLoaderStructureTest.php phpunit: Use is_file/is_dir instead of file_exists 2022-01-03 21:47:56 +01:00
AvailableRightsTest.php
BundleSizeTest.php tests: Add structure test for bundlesize.config.json 2021-12-01 14:12:33 +01:00
ContentHandlerFunctionalTest.php tests: Rename ContentHandlerSanityTest to ContentHandlerFunctionalTest 2021-11-22 10:54:41 +00:00
DatabaseIntegrationTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
ExtensionJsonValidationTest.php Cleanup mixed space/tab line indent 2021-09-04 00:52:31 +02:00
PasswordPolicyStructureTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
ResourcesTest.php Remove or replace usages of "sane" 2021-11-22 13:35:17 +00:00
RestStructureTest.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SettingsTest.php First pass on creating config-schema.yaml 2022-01-19 10:02:51 -08:00
SpecialPageFatalTest.php phpunit: Drop bypass for now-fixed dberror from SpecialPageFatalTest 2021-09-16 08:49:46 -07:00
StructureTest.php Have StructureTest not be an integration test 2021-05-21 22:17:26 +00:00
SuiteDirectoryTest.php Tests: Start marking some closures as static 2021-02-06 19:57:42 +00:00