wiki.techinc.nl/tests/parser
James D. Forrester 9bfb75ff90 Namespace ParserOutput
Most used non-namespaced class!

Bug: T353458
Change-Id: I4c2cbb0a808b3881a4d6ca489eee5d8c8ebf26cf
2023-12-14 14:57:34 -05:00
..
AnsiTermColorer.php Pass <Test,TestMode> as argument pair, deprecate old TestFileReader 2022-06-03 17:15:38 -04:00
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 Pass <Test,TestMode> as argument pair, deprecate old TestFileReader 2022-06-03 17:15:38 -04:00
definitionLists.txt Sync up core repo with Parsoid 2023-01-06 08:29:04 -06:00
DjVuSupport.php Drop $wgDjvuToXML 2021-09-10 23:40:31 +02:00
DummyTermColorer.php maintenance: Move MWTerm classes to /tests/parser/ 2022-03-24 21:01:14 +00:00
editTests.php Move DiffEngine and helpers to includes/libs/Diff and put them in a namespace 2023-06-20 15:15:13 +10:00
extLinks.txt Sync up core repo with Parsoid 2023-07-03 11:49:21 -04:00
fuzzTest.php Namespace User under \MediaWiki\User 2023-09-19 19:18:16 +00: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 tests/parser: Run phan 2022-06-02 00:13:30 +02:00
ParserTestRunner.php Namespace ParserOutput 2023-12-14 14:57:34 -05:00
parserTests.php Use $this->getServiceContainer() in tests 2023-10-17 18:40:46 +00:00
parserTests.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
pfeqParserTests.txt Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
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"