This is an old revision of the document!

Development pages for the new version of run-tests.php

These are the development pages for the new version of run-tests.php, the code which runs .phpt tests.

Initial requirements are listed here, additional ones will be added as we find them.

This is developer documentation, it contains information for people who work on and maintain the code

This is for users, there are instructions for checking out runnning and testing.

This is our current list of development items and the name of the person responsible for each one

Record of development decisions

  • Use the PEAR coding standard (22/04/2009 - see php-qa list for concerns)
  • Deviation from the standard: Do not use _ prefix for private members. (Reason: too much re-work to existing code)
  • We prefix classnames with rt (Reason: avoid name conflicts with built-in PHP classes)
  • We do not follow the original PEAR class naming scheme (Reason: we use autoload and name prefixes, so we can keep classnames shorter than DIR_DIR_DIR_CLASS)
  • We will not include both File and Class doc blocks. (Reason: Only ever one class per file)

This page configuration (the address is a bit screwy, but I won't change it as I've posted a link to it) has a list of currently implemented options, and whether we will re-implement or not. Yes means we will - blank means not decided, have asked for input on QA list.

Additional Options

  • Run tests in parallel?
  • XML or CSV or TXT (to replace HTML)
  • Option specify arguments to valgrind

Things that will not be re-implemented

This section is here to record differences between the new and old implementation of run-tests where they affect the excecution of existing tests or the manner in which run-tests.php is executed.


The way these are currently implemented the test has to look like this:

Some posted content


This isn't really necessary. In the new implementation the --GZIP_POST-- section will just contain the content to be posted and gzip'd. Same for DEFLATE_POST. This affects two tests:

  • ext/soap/tests/server019.phpt
  • ext/soap/tests/server020.phpt


qa/runtests.1248507017.txt.gz · Last modified: 2017/09/22 13:28 (external edit)