wiki.techinc.nl/tests/parser
Timo Tijhof bdced69dc4 title: Move Title.php to includes/title/ where related classes are
Also silence a random Phan false-positive that for some reason wasn't
discoverable until now.

Bug: T321882
Bug: T166010
Change-Id: Ia5d8cb759dc3bc9e9bbe217d0fb109e2f8c4101a
2022-11-09 00:20:08 +00: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 2022-10-19 19:13:04 -05: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 Remove use-tidy-config option 2022-08-31 14:02:10 -04:00
extLinks.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
fuzzTest.php Parser tests: the Test::$config property is now always an array 2022-06-03 17:16:24 -04:00
indentPre.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
legacyMedia.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
magicLinks.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
magicWords.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
media.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05: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 Make private deprecated public properties of Parser 2022-09-19 23:44:56 -04:00
ParserTestPrinter.php title: Move Title.php to includes/title/ where related classes are 2022-11-09 00:20:08 +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 Merge "Followup to 02d13afa: Respect parsoid-compatible options in CLI runs" 2022-10-26 01:28:02 +00:00
parserTests.php ParserTests: Add --dir option as a complement to the --file option 2022-10-25 15:43:26 -05:00
parserTests.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05: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
pWrapping.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
quotes.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
README
tables.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
TestFileEditor.php TestFileEditor: Fix string interpolation 2022-11-04 17:03:38 -06:00
TestRecorder.php tests/parser/TestMode: move parser test helper class to parsoid library 2022-08-16 16:26:25 -04: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"