Parser tests should be tidy by default; we will shortly stop running untidy tests. Previously merged as Id78d04a56f83d8c554cb0a8e395fcaf75a7a9a06, then reverted because it appears we missed updating a few extensions. Bug: T174199 Bug: T249194 Depends-On: I09fc7fe087f4b770c81c76a3aab1de22098c2d20 Depends-On: I7d80557ae3b43b8da03cef56430e11a0f5dc5793 Depends-On: I23ccb612c940b98ca9da46a2e0848ccfe70e695d Depends-On: I714f01d2d57f7290b147bdb47cbf69678b5f5adb Change-Id: I5627efc4f0aad77bfb9eae1e7465c11ced69325e |
||
|---|---|---|
| .. | ||
| preprocess | ||
| DbTestPreviewer.php | ||
| DbTestRecorder.php | ||
| DjVuSupport.php | ||
| editTests.php | ||
| extraParserTests.txt | ||
| fuzzTest.php | ||
| MultiTestRecorder.php | ||
| ParserTestMockParser.php | ||
| ParserTestParserHook.php | ||
| ParserTestPrinter.php | ||
| ParserTestResult.php | ||
| ParserTestResultNormalizer.php | ||
| ParserTestRunner.php | ||
| parserTests.php | ||
| parserTests.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"