wiki.techinc.nl/tests/parser
Daimona Eaytoy 1c6e872bd4 Replace usages of deprecated MWException
Use SPL exceptions instead when the exception is unchecked.

Bug: T328220
Change-Id: Ia1e5edc2ef3269a44b670262b78b305d07559829
2023-06-06 17:05:32 +02: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 rdbms: Move several methods from IDatabase to IMaintainableDatabase 2022-08-08 14:11:39 +00: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 Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
extLinks.txt Sync up core repo with Parsoid 2023-01-06 08:29:04 -06:00
fuzzTest.php parserTests: ensure test classes get auto-loaded. 2023-03-27 20:38:53 +02:00
indentPre.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05: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-01-06 08:29:04 -06:00
legacyMedia.txt Make magnify url match getDescLinkAttribs 2023-05-26 17:00:37 +00: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 Sync up core repo with Parsoid 2023-05-25 13:45:34 -04:00
MultiTestRecorder.php tests/parser/TestMode: move parser test helper class to parsoid library 2022-08-16 16:26:25 -04:00
ParserTestMockParser.php Remove deprecated $wgParser 2022-08-03 14:40:16 +02:00
ParserTestParserHook.php Reorg: Move HTML-related classes out of includes/ to Html/ 2023-02-16 20:40:01 +01:00
ParserTestPrinter.php Suppress false SecurityCheckXSS positives in ParserTestPrinter 2023-02-23 20:20:06 +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 Replace usages of deprecated MWException 2023-06-06 17:05:32 +02:00
parserTests.php parserTests: ensure test classes get auto-loaded. 2023-03-27 20:38:53 +02:00
parserTests.txt Sync up core repo with Parsoid 2023-05-26 17:05:07 -04: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: Remove back-compatibility NO_TOC_CONVERSION code 2023-03-24 22:14:42 +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
redirects.txt Sync up core repo with Parsoid 2023-03-28 14:28:49 -05:00
tables.txt Sync up core repo with Parsoid 2023-01-11 17:35:44 -06:00
TestFileEditor.php TestFileEditor: Fix string interpolation 2022-11-04 17:03:38 -06:00
TestRecorder.php Fix some typos 2023-03-21 15:58:09 +01:00
toc.txt Sync up core repo with Parsoid 2023-05-25 13:45:34 -04: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:

 $ cd tests/phpunit
 ./phpunit.php --testsuite parsertests

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

 ./phpunit.php --testsuite parsertests --filter="T6400"