wiki.techinc.nl/tests/parser
Brad Jorsch 83b798bbab Hide <style> tags from Tidy
Some versions of html-tidy (e.g. the one currently in use on WMF wikis)
will try to move all <style> tags in the body into the head, effectively
removing them for our purposes. We need to avoid that for TemplateStyles.

Bug: T167349
Change-Id: I133776d16f366cad73ed30af0e5a665fdf9f5ed9
2017-06-13 13:02:57 -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 Use consistent spaces at start and end of comments 2017-03-30 22:06:40 +02:00
DbTestRecorder.php Move IDatabase/IMaintainableDatabase to Rdbms namespace 2017-03-28 15:32:38 -07:00
DjVuSupport.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
editTests.php Parser test file editor 2016-10-28 16:15:59 +11:00
extraParserTests.txt Strip U+0000 in wikitext 2017-03-06 22:23:38 +00:00
fuzzTest.php Use namespaced ScopedCallback 2016-10-17 15:46:05 -07:00
MultiTestRecorder.php Refactor parser tests 2016-09-12 16:11:42 +10:00
ParserTestMockParser.php parserTests: Use a mock parser during article insertion 2016-10-06 17:08:27 +11:00
ParserTestParserHook.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
ParserTestPrinter.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
ParserTestResult.php Refactor parser tests 2016-09-12 16:11:42 +10:00
ParserTestResultNormalizer.php Remove trailing empty lines in PHP 2017-01-16 22:06:43 +01:00
ParserTestRunner.php Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
parserTests.php Parser test file editor 2016-10-28 16:15:59 +11:00
parserTests.txt Hide <style> tags from Tidy 2017-06-13 13:02:57 -04:00
PhpunitTestRecorder.php Refactor parser tests 2016-09-12 16:11:42 +10:00
README tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
TestFileEditor.php parser test editor: Fix emitting of !! hooks 2017-01-31 03:12:15 +00: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 Don't test for tidy class on hhvm 2017-02-13 14:54:48 -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"