wiki.techinc.nl/tests/parser
Umherirrender dc7cfa0434 Add parser test for {{safesubst:self}}
This fails without the follow-up patch with the same exception as on the
task

Bug: T276476
Follow-Up: I014da3a333f8ee6ca623b98c415b8d9f9d1be084
Change-Id: Ib61e9ea44a6fdc31e10b89c3504cecec5b9fd208
2021-04-04 22:22:29 +02:00
..
preprocess
DbTestPreviewer.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
DbTestRecorder.php
DjVuSupport.php
editTests.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
extraParserTests.txt Hard-deprecate parser tests targetting Preprocessor_DOM 2020-08-04 14:21:32 -04:00
fuzzTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
legacyMediaParserTests.txt parserTests: Avoid problematic language in comments 2021-03-28 21:23:37 -07:00
MultiTestRecorder.php Replace all call_user_func(_array) in all tests 2020-06-06 18:41:20 +02:00
ParserTestMockParser.php
ParserTestParserHook.php
ParserTestPrinter.php Remove unneeded @return documentation 2021-01-25 19:44:27 +01:00
ParserTestResult.php Improve some class properties documentation in tests 2021-02-02 16:48:15 +00:00
ParserTestResultNormalizer.php
ParserTestRunner.php parserTests: Avoid problematic language in comments 2021-03-28 21:23:37 -07:00
parserTests.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
parserTests.txt Add parser test for {{safesubst:self}} 2021-04-04 22:22:29 +02:00
pfeqParserTests.txt Tracking category and parser warning for deprecated uses of {{=}} 2020-09-15 20:16:37 +00:00
PhpunitTestRecorder.php
README
TestFileEditor.php Parser: remove leftover "transparent hook" code 2020-01-28 20:10:20 -05:00
TestFileReader.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
TestRecorder.php

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"