wiki.techinc.nl/tests/parser
Tim Starling 0077c5da15 Use short array destructuring instead of list()
Introduced in PHP 7.1. Because it's shorter and looks nice.

I used regex replacement.

Change-Id: I0555e199d126cd44501f859cb4589f8bd49694da
2022-10-21 15:33:37 +11: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 rdbms: Move several methods from IDatabase to IMaintainableDatabase 2022-08-08 14:11:39 +00:00
DbTestRecorder.php
definitionLists.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05:00
DjVuSupport.php
DummyTermColorer.php
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 tests/parser/TestMode: move parser test helper class to parsoid library 2022-08-16 16:26:25 -04:00
ParserTestResult.php Remove comment from parser test result description 2022-08-30 19:42:35 -04:00
ParserTestResultNormalizer.php
ParserTestRunner.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
parserTests.php Don't pass null to json_decode() (deprecated in PHP 8.1) 2022-09-26 11:37:19 +08:00
parserTests.txt Sync up core repo with Parsoid 2022-10-19 19:13:04 -05: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
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
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"