wiki.techinc.nl/tests/parser
C. Scott Ananian f7bb180fef Accept BCP 47 codes in LanguageConverter rules
Facilitate a gradual migration away from non-standard MediaWiki language
codes.  This will ensure that (a) rules can be written with standard
BCP 47 codes, and (b) rules written with existing nonstandard codes will
continue to work once these are added to
LanguageCode::$deprecatedLanguageCodeMapping.

Change-Id: I3ba96faafaf40bd47fb5919621f7035f0431a698
2018-10-16 23:58:11 -04:00
..
preprocess Do not use real message names in 'All_system_messages' preprocessor test 2017-03-08 17:02:53 +01:00
DbTestPreviewer.php Improve some parameter docs 2017-09-10 20:32:31 +02:00
DbTestRecorder.php Avoid bad method call to patchPatch() in DbTestRecorder 2018-06-25 21:14:13 +01:00
DjVuSupport.php PHP: Use short ternary operator (?:) where possible 2018-06-11 11:26:35 +02:00
editTests.php build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00
extraParserTests.txt Strip U+0000 in wikitext 2017-03-06 22:23:38 +00:00
fuzzTest.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
MultiTestRecorder.php
ParserTestMockParser.php Improve test coverage for ApiStashEdit 2018-08-21 15:32:29 -07:00
ParserTestParserHook.php build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 2018-01-01 14:10:16 +01:00
ParserTestPrinter.php Improve some parameter docs 2017-09-10 20:32:31 +02:00
ParserTestResult.php
ParserTestResultNormalizer.php Update suppressWarning()/restoreWarning() calls 2018-02-10 08:50:12 +00:00
ParserTestRunner.php ActorMigration: Remove possibility of read-both 2018-10-11 12:12:00 +11:00
parserTests.php Follow-up 9742d569b: Replace accidental \t in i18n with a space 2018-07-25 08:34:57 -07:00
parserTests.txt Accept BCP 47 codes in LanguageConverter rules 2018-10-16 23:58:11 -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 Require indentation of CASE statements in PHP code 2017-12-10 22:07:50 -05:00
TestFileReader.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
TestRecorder.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
TidySupport.php Use RemexHtml as the tidy implementation for parser tests 2018-03-02 14:30:27 -08: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"