wiki.techinc.nl/tests/parser
2021-12-10 21:02:23 +00:00
..
preprocess Use IEC prefixes instead of SI prefixes for byte sizes (docs+backend) 2021-06-28 11:59:09 +01:00
DbTestPreviewer.php
DbTestRecorder.php
DjVuSupport.php Drop $wgDjvuToXML 2021-09-10 23:40:31 +02:00
editTests.php Tweak Tidy handling in editTests.php 2021-10-07 15:23:47 -05:00
extraParserTests.txt Move parser test with stray carriage return to extraParserTests.txt 2021-10-14 00:49:58 +02:00
fuzzTest.php
legacyMediaParserTests.txt Sync up with Parsoid (legacyMediaP|mediaP|p)arserTests.txt 2021-09-30 14:57:54 -05:00
mediaParserTests.txt Sync up with Parsoid mediaParserTests.txt 2021-12-10 14:32:24 -05:00
MultiTestRecorder.php
ParserTestMockParser.php
ParserTestParserHook.php
ParserTestPrinter.php
ParserTestResult.php
ParserTestResultNormalizer.php
ParserTestRunner.php TestRunner: Set local interwiki URLs to match wgServer, like in production 2021-12-07 16:20:26 -05:00
parserTests.php Simplify if-then-else-return statements with explicit true/false 2021-08-17 23:19:04 +02:00
parserTests.txt Sync up with Parsoid parserTests.txt 2021-12-10 14:33:34 -05:00
pfeqParserTests.txt
PhpunitTestRecorder.php
README
TestFileEditor.php Use array_fill_keys() instead of array_flip() if that reflects the developer's intention 2021-06-15 00:11:10 +00:00
TestFileReader.php
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"