I10d2b32bd95316e1331b5eb88ef57de55c3ca1a1 removed the last usage of MediaWikiTestCaseTrait, thus the use statement can be removed. Change-Id: I05b3b56abc8079abd294e453c78128858ef8ea7d |
||
|---|---|---|
| .. | ||
| preprocess | ||
| DbTestPreviewer.php | ||
| DbTestRecorder.php | ||
| DjVuSupport.php | ||
| editTests.php | ||
| extraParserTests.txt | ||
| fuzzTest.php | ||
| legacyMediaParserTests.txt | ||
| mediaParserTests.txt | ||
| MultiTestRecorder.php | ||
| ParserTestMockParser.php | ||
| ParserTestParserHook.php | ||
| ParserTestPrinter.php | ||
| ParserTestResult.php | ||
| ParserTestResultNormalizer.php | ||
| ParserTestRunner.php | ||
| parserTests.php | ||
| parserTests.txt | ||
| pfeqParserTests.txt | ||
| PhpunitTestRecorder.php | ||
| README | ||
| TestFileEditor.php | ||
| TestFileReader.php | ||
| TestRecorder.php | ||
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"