Autodiscover parser tests for extensions, deprecate $wgParserTestFiles
authorKunal Mehta <legoktm@member.fsf.org>
Fri, 7 Jul 2017 22:26:21 +0000 (15:26 -0700)
committerReedy <reedy@wikimedia.org>
Sat, 8 Jul 2017 00:47:02 +0000 (00:47 +0000)
commit9081dd1217c574f77a43beab36b436ba43f4188e
tree9f6c659252a76b9a8e173eccccdf532ecd5c1e45
parent28c96dbb83a27f23d1295a9cd621f9ba7a1462ff
Autodiscover parser tests for extensions, deprecate $wgParserTestFiles

This implements autodiscovery of extension parser tests that are located
in the tests/parser/ directory. Any *.txt file in that directory tree
will be treated as a parser test.

Core parser tests are now defined in ParserTestRunner::$coreTestFiles,
and $wgParserTestFiles is marked as deprecated.

Bug: T143976
Change-Id: Ia24fd8ef52e6732c698153b17bb679a5f511a2a7
includes/DefaultSettings.php
tests/parser/ParserTestRunner.php
tests/parser/parserTests.php
tests/phpunit/suites/ParserTestTopLevelSuite.php