wiki.techinc.nl/tests/parser
Arlo Breault 6289e1919d Use Linker::getImageLinkMTOParams() for galleries
This assures that nofollow's are added where necessary and sets the
title attribute on links where appropriate, matching file links outside
of galleries.

Change-Id: I999a294bbcb921fe53823503e8009ab678411bb2
2022-05-11 12:11:43 -04:00
..
preprocess
AnsiTermColorer.php maintenance: Move MWTerm classes to /tests/parser/ 2022-03-24 21:01:14 +00:00
DbTestPreviewer.php
DbTestRecorder.php
DjVuSupport.php Drop $wgDjvuToXML 2021-09-10 23:40:31 +02:00
DummyTermColorer.php maintenance: Move MWTerm classes to /tests/parser/ 2022-03-24 21:01:14 +00:00
editTests.php Call Maintenance::readconsole statically and fix documentation 2022-03-14 21:15:35 +00:00
extraParserTests.txt Move parser test with stray carriage return to extraParserTests.txt 2021-10-14 00:49:58 +02:00
fuzzTest.php tests: Change use of AtEase to at operator 2022-02-24 21:29:51 +00:00
legacyMediaParserTests.txt Use Linker::getImageLinkMTOParams() for galleries 2022-05-11 12:11:43 -04:00
mediaParserTests.txt Use Linker::getImageLinkMTOParams() for galleries 2022-05-11 12:11:43 -04:00
MultiTestRecorder.php
ParserTestMockParser.php
ParserTestParserHook.php
ParserTestPrinter.php
ParserTestResult.php
ParserTestResultNormalizer.php Use str_starts_with/str_ends_with 2022-05-02 10:59:58 +03:00
ParserTestRunner.php Accomodate a future change to config information in the ParserTest class 2022-05-05 11:51:38 -04:00
parserTests.php rdbms: add $fname parameter to LBFactory::closeAll() for better logging 2022-04-05 21:39:21 +00:00
parserTests.txt Merge "Move bad file tests to mediaParserTests" 2022-05-02 23:02:26 +00:00
pfeqParserTests.txt
PhpunitTestRecorder.php
README
TestFileEditor.php Move property initialisation out of the constructor 2022-01-27 18:50:58 +00:00
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"