wiki.techinc.nl/tests/parser
C. Scott Ananian fac9f7f17d ParserTests: add <pwraptest> and <spantag> tags for use in parser tests
The <pwraptest> extension tag helps test paragraph-wrapping issues.

The <spantag> tag behaves like a simplified version of <ref> and is
used to test behavior in a standalone way without requiring the Cite
extension to be installed.

Bug: T354215
Change-Id: I73f4fa256fb9e61804a2722ac350e26423b633ca
2024-01-19 11:54:58 -05:00
..
AnsiTermColorer.php
badCharacters.txt
comments.txt
DbTestPreviewer.php Add taint-check annotations to database methods 2023-09-23 19:33:33 +02:00
DbTestRecorder.php installer: Namespace remaining classes 2024-01-13 23:45:14 +00:00
definitionLists.txt
DjVuSupport.php
DummyTermColorer.php
editTests.php Make Maintenance::finalSetup require a SettingsBuilder 2024-01-08 09:40:18 -05:00
extLinks.txt Sync up core repo with Parsoid 2023-07-03 11:49:21 -04:00
fuzzTest.php Make Maintenance::finalSetup require a SettingsBuilder 2024-01-08 09:40:18 -05:00
indentPre.txt
indicators.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
interlanguageLinks.txt
interwikiLinks.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
legacyMedia.txt Get rid of unnecessary htmltidy hack in Gallery 2023-12-05 20:29:29 -06:00
magicLinks.txt
magicWords.txt
media.txt Get rid of unnecessary htmltidy hack in Gallery 2023-12-05 20:29:29 -06:00
MultiTestRecorder.php
ParserTestMockParser.php Namespace ParserOutput 2023-12-14 14:57:34 -05:00
ParserTestParserHook.php ParserTests: add <pwraptest> and <spantag> tags for use in parser tests 2024-01-19 11:54:58 -05:00
ParserTestPrinter.php Namespace Sanitizer under \MediaWiki\Parser 2023-09-21 05:39:23 +00:00
ParserTestResult.php
ParserTestResultNormalizer.php
ParserTestRunner.php Revert "Use Remex for DeduplicateStyles transform" 2023-12-22 11:26:09 +01:00
parserTests.php Make Maintenance::finalSetup require a SettingsBuilder 2024-01-08 09:40:18 -05:00
parserTests.txt Revert "Use Remex for DeduplicateStyles transform" 2023-12-22 11:26:09 +01:00
pfeqParserTests.txt
PhpunitTestRecorder.php
preprocessor.txt
preTags.txt
pst.txt parser: Fix detection of variable with whitespace after subst: 2023-10-01 18:30:15 +00:00
pWrapping.txt
quotes.txt
README Avoid mentioning tests/phpunit.php in documentation 2023-07-02 17:35:17 +02:00
redirects.txt Sync up core repo with Parsoid 2023-07-03 11:49:21 -04:00
tables.txt Sync up core repo with Parsoid 2023-11-07 13:11:04 -06:00
TestFileEditor.php Replace generic new Exception with more generic ones 2023-10-17 07:59:50 +00:00
TestRecorder.php
toc.txt Use DOM to clean up headings for the table of contents (TOC) 2023-11-17 18:27:46 +01:00
wtEscaping.txt

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:

 $ composer phpunit -- --testsuite parsertests

You can optionally filter by title using --filter, e.g.

 composer phpunit -- --testsuite parsertests --filter="T6400"