wiki.techinc.nl/tests/parser
daniel cea8aee05e Make Maintenance::finalSetup require a SettingsBuilder
Maintenance::finalSetup should have access to a SettingsBuilder so it
can manipulates config settings without resorting to global variables.
MaintenanceRunner will always provide a SettingsBuilder when calling
this method, so implementations should be able to rely on always getting
one.

The $settings parameter was introduced as optional in order to maintain
backwards compatibility with implementations that did not declare the
parameter. But these should all have been fixed since.

Depends-On: I8a3699b13bfb4dc15f3bed562731ed9d525651cc
Change-Id: I334a103e02fd905faafc43c7c5b95996bc91fd18
2024-01-08 09:40:18 -05:00
..
AnsiTermColorer.php
badCharacters.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
comments.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
DbTestPreviewer.php Add taint-check annotations to database methods 2023-09-23 19:33:33 +02:00
DbTestRecorder.php
definitionLists.txt Sync up core repo with Parsoid 2023-01-06 08:29:04 -06:00
DjVuSupport.php
DummyTermColorer.php
editTests.php Make Maintenance::finalSetup require a SettingsBuilder 2024-01-08 09:40:18 -05:00
extLinks.txt Sync up core repo with Parsoid 2023-07-03 11:49:21 -04:00
fuzzTest.php Make Maintenance::finalSetup require a SettingsBuilder 2024-01-08 09:40:18 -05:00
indentPre.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
indicators.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
interlanguageLinks.txt ParserTestRunner: handle metadata output as separate section 2023-02-28 17:26:08 -05:00
interwikiLinks.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
legacyMedia.txt Get rid of unnecessary htmltidy hack in Gallery 2023-12-05 20:29:29 -06:00
magicLinks.txt Sync up core repo with Parsoid 2023-01-06 08:29:04 -06:00
magicWords.txt Sync up core repo with Parsoid 2023-04-26 14:11:39 -04:00
media.txt Get rid of unnecessary htmltidy hack in Gallery 2023-12-05 20:29:29 -06:00
MultiTestRecorder.php tests/parser/TestMode: move parser test helper class to parsoid library 2022-08-16 16:26:25 -04:00
ParserTestMockParser.php Namespace ParserOutput 2023-12-14 14:57:34 -05:00
ParserTestParserHook.php Bump phan to 0.13.0 2023-09-11 19:22:44 +02:00
ParserTestPrinter.php Namespace Sanitizer under \MediaWiki\Parser 2023-09-21 05:39:23 +00:00
ParserTestResult.php Remove comment from parser test result description 2022-08-30 19:42:35 -04:00
ParserTestResultNormalizer.php
ParserTestRunner.php Revert "Use Remex for DeduplicateStyles transform" 2023-12-22 11:26:09 +01:00
parserTests.php Make Maintenance::finalSetup require a SettingsBuilder 2024-01-08 09:40:18 -05:00
parserTests.txt Revert "Use Remex for DeduplicateStyles transform" 2023-12-22 11:26:09 +01:00
pfeqParserTests.txt
PhpunitTestRecorder.php tests/parser/TestMode: move parser test helper class to parsoid library 2022-08-16 16:26:25 -04:00
preprocessor.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
preTags.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
pst.txt parser: Fix detection of variable with whitespace after subst: 2023-10-01 18:30:15 +00:00
pWrapping.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
quotes.txt Sync up core repo with Parsoid 2023-01-06 08:29:04 -06:00
README Avoid mentioning tests/phpunit.php in documentation 2023-07-02 17:35:17 +02:00
redirects.txt Sync up core repo with Parsoid 2023-07-03 11:49:21 -04:00
tables.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
TestFileEditor.php Replace generic new Exception with more generic ones 2023-10-17 07:59:50 +00:00
TestRecorder.php Fix some typos 2023-03-21 15:58:09 +01:00
toc.txt Use DOM to clean up headings for the table of contents (TOC) 2023-11-17 18:27:46 +01:00
wtEscaping.txt Sync up core repo with Parsoid 2023-01-06 08:29:04 -06:00

Parser tests can be run either via PHPUnit or by using the standalone
parserTests.php in this directory. The standalone version provides more
options.

To run parser tests via PHPUnit:

 $ composer phpunit -- --testsuite parsertests

You can optionally filter by title using --filter, e.g.

 composer phpunit -- --testsuite parsertests --filter="T6400"