wiki.techinc.nl/tests/parser
Subramanya Sastry 1593387f02 Parsoid's parser test runner no longer provides 'scrubWikitext' opt
Change-Id: Ic02221a4fbd9ed76d1f9b8e0968bc7d5500040b5
2022-01-13 16:43:19 -06: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 Merge "Add "resource" attribute to img tags" 2022-01-07 19:23:48 +00:00
MultiTestRecorder.php
ParserTestMockParser.php
ParserTestParserHook.php Don't p-wrap <aside> tags in extension HTML 2021-04-06 16:26:12 +02:00
ParserTestPrinter.php
ParserTestResult.php
ParserTestResultNormalizer.php
ParserTestRunner.php Parsoid's parser test runner no longer provides 'scrubWikitext' opt 2022-01-13 16:43:19 -06: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 2022-01-07 15:58:30 -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"