jenkins-bot ede4b68c2b Merge "Ensure parserTests pass even if wiki has wgUsePigLatin enabled" 5 years ago
..
preprocess bebe29662b Do not use real message names in 'All_system_messages' preprocessor test 7 years ago
DbTestPreviewer.php f739a8f368 Improve some parameter docs 6 years ago
DbTestRecorder.php ec3289524e Avoid bad method call to patchPatch() in DbTestRecorder 6 years ago
DjVuSupport.php e1630b6a53 PHP: Use short ternary operator (?:) where possible 6 years ago
MultiTestRecorder.php 6117fb244f Refactor parser tests 7 years ago
ParserTestMockParser.php ab94b63526 Improve test coverage for ApiStashEdit 5 years ago
ParserTestParserHook.php 255d76f2a1 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0 6 years ago
ParserTestPrinter.php f739a8f368 Improve some parameter docs 6 years ago
ParserTestResult.php 6117fb244f Refactor parser tests 7 years ago
ParserTestResultNormalizer.php 39f0f919c5 Update suppressWarning()/restoreWarning() calls 6 years ago
ParserTestRunner.php a4caa4d0c6 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 5 years ago
PhpunitTestRecorder.php 63d96c15fd build: Updating mediawiki/mediawiki-codesniffer to 16.0.0 6 years ago
README 1e9c361960 tests: Replace implicit Bugzilla bug numbers with Phab ones 7 years ago
TestFileEditor.php e74bfe13f6 Require indentation of CASE statements in PHP code 6 years ago
TestFileReader.php ce6f7faadd Remove trailing empty lines in PHP 7 years ago
TestRecorder.php ce6f7faadd Remove trailing empty lines in PHP 7 years ago
TidySupport.php bd91229204 Use RemexHtml as the tidy implementation for parser tests 6 years ago
editTests.php a4caa4d0c6 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 5 years ago
extraParserTests.txt 3e32d21210 Strip U+0000 in wikitext 7 years ago
fuzzTest.php 39f0f919c5 Update suppressWarning()/restoreWarning() calls 6 years ago
parserTests.php 4b7baf11aa Follow-up 9742d569b: Replace accidental \t in i18n with a space 5 years ago
parserTests.txt 38d704545a Ensure parserTests pass even if wiki has wgUsePigLatin enabled 5 years ago

README

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"