wiki.techinc.nl/tests/parser
DannyS712 7c74e448aa Revert "Deprecate parserTests format v1"
This reverts commit a7242a2eaa.

Reason for revert: Not all extension tests included in gated jobs
have been updated (specifically Scribunto and SyntaxHighlight tests)

Bug: T174199
Bug: T249194
Change-Id: I02997eda14e392e042df02dc8f64912bd4a54320
2020-04-02 08:17:08 +00:00
..
preprocess Use singular they to refer to IP address 2018-12-13 17:41:36 +01: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
editTests.php Use class keyword for classname resolution 2020-03-27 09:33:01 +01:00
extraParserTests.txt Update extraParserTests.txt to parserTests v2 (tidy by default) 2020-04-01 13:15:32 -04:00
fuzzTest.php Use class keyword for classname resolution 2020-03-27 09:33:01 +01:00
MultiTestRecorder.php
ParserTestMockParser.php
ParserTestParserHook.php tests: Don't expect the Parser to be passed by ref 2019-11-18 17:43:35 +01:00
ParserTestPrinter.php Add parserTests file line number to failing tests output 2020-01-29 00:17:36 +00:00
ParserTestResult.php
ParserTestResultNormalizer.php Remove references to Html5Depurate 2019-03-13 16:33:37 -05:00
ParserTestRunner.php Merge "Use MediaWikiServices::getMessageCache" 2020-03-14 18:27:12 +00:00
parserTests.php Use class keyword for classname resolution 2020-03-27 09:33:01 +01:00
parserTests.txt Sync up with Parsoid parserTests.txt 2020-03-19 10:57:36 -04:00
PhpunitTestRecorder.php
README
TestFileEditor.php Parser: remove leftover "transparent hook" code 2020-01-28 20:10:20 -05:00
TestFileReader.php Revert "Deprecate parserTests format v1" 2020-04-02 08:17:08 +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"