wiki.techinc.nl/tests/parser
Tim Starling a387fee397 Split up testHelpers.inc, break off fuzz testing
* Split up testHelpers.inc into one class per file, with the file named
  after the class per the usual convention. Put them in tests/parser
  since they are all parser-related, even though a couple are reused by
  other unit tests.
* Also rename parserTest.inc and parserTestsParserHook.php to follow the
  usual convention, and split off ParserTestResultNormalizer
* Move fuzz testing out to its own maintenance script. It's really not
  helpful to have fuzz testing, which is designed to run forever,
  exposed as a PHPUnit test.
* Increased fuzz test memory limit, and increased the memory headroom for
  getMemoryBreakdown(), since HHVM's ReflectionClass has an internal
  cache which uses quite a lot of memory.
* Temporarily switched a couple of ParserTest methods from private to
  public to support fuzz testing from a separate class -- I plan on
  replacing this interface in a subsequent commit.

Change-Id: Ib1a07e109ec1005bff2751b78eb4de35f2dfc472
2016-09-08 09:06:45 +10:00
..
preprocess Replace 'emailpage' with 'emailuser' 2015-08-20 10:49:03 +00:00
DbTestPreviewer.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
DbTestRecorder.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
DelayedParserTest.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
DjVuSupport.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
extraParserTests.txt parserTest: Remove mention of non-existent 'noxml' option 2016-03-24 00:48:02 +00:00
fuzzTest.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
ITestRecorder.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
ParserTest.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
ParserTestParserHook.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
ParserTestResult.php
ParserTestResultNormalizer.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
parserTests.txt Merge "Sync up with Parsoid parserTests." 2016-08-24 17:14:35 +00:00
README
TestFileDataProvider.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
TestFileIterator.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
TestRecorder.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00
TidySupport.php Split up testHelpers.inc, break off fuzz testing 2016-09-08 09:06:45 +10:00

Parser tests are run using our PHPUnit test suite in tests/phpunit:

 $ cd tests/phpunit
 ./phpunit.php --group Parser

You can optionally filter by title using --regex. I.e. :

 ./phpunit.php --group Parser --regex="Bug 6200"