wiki.techinc.nl/tests/parser
C. Scott Ananian 16a537dfd6 parserTests.php: Default to --parsoid if you pass a parsoid-specific option
Change-Id: Ie3e66be8bd0df719a9487a0303885042c3bf7cb7
2022-05-27 10:12:56 -04:00
..
preprocess Use IEC prefixes instead of SI prefixes for byte sizes (docs+backend) 2021-06-28 11:59:09 +01:00
AnsiTermColorer.php maintenance: Move MWTerm classes to /tests/parser/ 2022-03-24 21:01:14 +00:00
DbTestPreviewer.php Coding style: Auto-fix MediaWiki.Usage.IsNull.IsNull 2020-01-10 14:17:13 -08:00
DbTestRecorder.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02: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 Call Maintenance::readconsole statically and fix documentation 2022-03-14 21:15:35 +00:00
extraParserTests.txt Move parser test with stray carriage return to extraParserTests.txt 2021-10-14 00:49:58 +02:00
fuzzTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
legacyMediaParserTests.txt Sync up with Parsoid parserTests 2022-05-17 14:38:15 -04:00
mediaParserTests.txt Sync up with Parsoid parserTests 2022-05-17 14:38:15 -04:00
MultiTestRecorder.php Replace all call_user_func(_array) in all tests 2020-06-06 18:41:20 +02:00
ParserTestMockParser.php Improve test coverage for ApiStashEdit 2018-08-21 15:32:29 -07:00
ParserTestParserHook.php Don't p-wrap <aside> tags in extension HTML 2021-04-06 16:26:12 +02:00
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 Use str_starts_with/str_ends_with 2022-05-02 10:59:58 +03:00
ParserTestRunner.php ParserTestRunner: Use standard PHP mechanism for array defaults in constructor 2022-05-27 10:12:56 -04:00
parserTests.php parserTests.php: Default to --parsoid if you pass a parsoid-specific option 2022-05-27 10:12:56 -04:00
parserTests.txt Sync up with Parsoid parserTests files 2022-05-11 17:15:33 -04:00
pfeqParserTests.txt Add {{=}} as a built-in magic word 2022-05-20 13:08:20 -04:00
PhpunitTestRecorder.php build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 2018-02-17 13:29:13 +01:00
README tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
TestFileEditor.php Move property initialisation out of the constructor 2022-01-27 18:50:58 +00:00
TestFileReader.php Tests: Mark more more closures as static 2021-02-09 02:55:57 +00:00
TestRecorder.php Add missing @param and @return to documentation 2019-11-16 13:45:55 +01: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"