qa:runtests
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
qa:runtests [2009/07/19 10:06] zoe |
qa:runtests [2012/05/18 17:55] zoe Add a page for development |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | The initial requirements | + | These are the development pages for the new version of run-tests.php, the code which runs .phpt tests. |
- | * Be able to skip whole directories with one check | + | * [[http:// |
- | * Provide | + | Initial requirements are listed here, additional ones will be added as we find them. |
- | * Provide an API so thatthe code can be used n=by other applications (from Greg Beaver). | + | * [[http:// |
+ | * [[http:// | ||
+ | This is developer documentation, | ||
+ | * [[http:// | ||
+ | This is for users, there are instructions for checking out runnning and testing. | ||
+ | * [[http:// | ||
+ | This is our current list of development items and the name of the person responsible for each one | ||
+ | * [[http:// | ||
+ | Sometimes we have made a decision not to re-implement a feature of run-tests or to do something differently. The reasons for making such decions are recorded here. | ||
+ | * [[http:// | ||
+ | Compatibility with the old version and checking that the parallel code gives the same results | ||
+ | * [[http:// | ||
- | More documentation and source code can be found here [[http:// | ||
- | ====== ToDo & who ====== | ||
- | * Add a check for 5.3 only (Georg - done, 6th may) | ||
- | * Implement valgrind (high priority from Nuno) | ||
- | * Implement CGI tests (Zoe) | ||
- | * GET (done, 27 April) | ||
- | * POST (done 28th April) | ||
- | * POST_RAW (done 3rd May) | ||
- | * GZIP_POST (done 28th April) | ||
- | * DEFLATE_POST (done 28th April) | ||
- | * EXPECTHEADERS (done May) | ||
- | * COOKIE (done 3rd May) | ||
- | * Implement FILE_EXTERNAL (Georg, done) | ||
- | |||
- | * Prototype parallel running (Georg - first prototype committed) | ||
- | * Replace the test status array with a status object (Zoe - done, 8th June) | ||
- | |||
- | ===== TODOs 30th June ===== | ||
- | |||
- | * Run sequential groups within in Georg' | ||
- | * Write whole object to disk (check timing differences, | ||
- | * Refactor output writer - and task test group and task receiver. (G - Done) | ||
- | * Focus more on QA | ||
- | * Assemble a set of standard tests (Z - Done, see QA/ | ||
- | * Checkin results for running them with old version and current version of our code (Z, done. See LinuxQAJuly18) | ||
- | * Write phing task to compare them (S) | ||
- | * Always run Unit tests before checkin (All) | ||
- | * Add new unit test whenever we find a problem (All) | ||
- | * Always check output for notices and warnings (All) | ||
- | * Always do clean checkout, never use cvs up (All) | ||
- | * Use rtException everywhere, get rid of other exception classes (Z) | ||
- | |||
- | | ||
- | |||
- | ====== Record of development decisions ====== | ||
- | * Use the [[http:// | ||
- | * 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 | ||
- | * We will not include both File and Class doc blocks. (Reason: Only ever one class per file) | ||
- | |||
- | This page [[wiki.php.net/ | ||
- | |||
- | ==== 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. | ||
- | |||
- | ===== GZIP_POST, DEFLATE_POST ===== | ||
- | The way these are currently implemented the test has to look like this: | ||
- | |||
- | < | ||
- | --POST-- | ||
- | Some posted content | ||
- | |||
- | --GZIP_POST-- | ||
- | 1 | ||
- | --FILE-- | ||
- | etc | ||
- | </ | ||
- | |||
- | This isn't really necessary. In the new implementation the --GZIP_POST-- section will just contain the content to be posted and gzip' | ||
- | This affects two tests: | ||
- | |||
- | * ext/ | ||
- | * ext/ | ||
- | |||
- | |||
- | ====== Subpages ====== | ||
- | * [[/ | ||
- | * [[/ | ||
qa/runtests.txt · Last modified: 2017/09/22 13:28 (external edit)