wiki.techinc.nl/tests/parser
Subramanya Sastry f8f31ba170 Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit ca588b2507926531d1b9c3d4936d641893ec0084

However, "Links 16. Link prefix using unicode \x{...} escapes (T235563)"
was altered (s/1923/Nineteentwentythree/) to account for Postgres not
being able to handle a page_title as an int.

Bug: T239645
Change-Id: I5c4a45d535965353f6b7ef33bfd0b858c91e36a3
2019-12-02 13:58:15 -05:00
..
preprocess Use singular they to refer to IP address 2018-12-13 17:41:36 +01:00
DbTestPreviewer.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
DbTestRecorder.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
DjVuSupport.php
editTests.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
extraParserTests.txt extraParserTests.txt: Fix typo 2018-10-19 22:22:37 +02:00
fuzzTest.php Parser fuzzTest: Stop trying to call hphpd_break, we don't run on HHVM any more 2019-10-11 17:15:44 +00: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 public as visibility in tests folder 2019-10-10 21:55:37 +02:00
ParserTestResult.php
ParserTestResultNormalizer.php Remove references to Html5Depurate 2019-03-13 16:33:37 -05:00
ParserTestRunner.php tests: Don't expect the Parser to be passed by ref 2019-11-18 17:43:35 +01:00
parserTests.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
parserTests.txt Sync up with Parsoid parserTests.txt 2019-12-02 13:58:15 -05:00
PhpunitTestRecorder.php
README
TestFileEditor.php Rewrite confusing loop in TestFileEditor helper class 2019-11-11 10:29:18 +01:00
TestFileReader.php No yoda conditions 2018-11-21 17:54:39 +01: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"