qa:runtests:documentation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
qa:runtests:documentation [2009/09/01 19:21] zoeqa:runtests:documentation [2009/09/01 19:45] zoe
Line 3: Line 3:
  
   *[[http://wiki.php.net/qa/runtests/documentation/commandline|Command line options]]   *[[http://wiki.php.net/qa/runtests/documentation/commandline|Command line options]]
-A list of the options available in the hold version of run-tests and information about whether that are (or will be) re-implemented.+A list of the options available in the old version of run-tests and information about whether that are (or will be) re-implemented.
  
 ====== Introduction ====== ====== Introduction ======
Line 59: Line 59:
  
 The implementation of runtests that is described in these pages is specific to PHP5.3 and beyond. Many of the implementation details are similar to the previous version of runtests but the overall code structure is very different.  The implementation of runtests that is described in these pages is specific to PHP5.3 and beyond. Many of the implementation details are similar to the previous version of runtests but the overall code structure is very different. 
 +
 +====== Overall code structure ======
 +The most important classes in classes in the code are shown in the figure below and described in the following paragraphs.
 +
 +{{:qa:runtests:mainclasses.png|}}
 +
 +===== Test Run =====
 +The main class is rtPhpTestRun. This class is responsible for the overall running of one or more test cases.
 +
 +rtPhpTestRun instantiates the run configuration class (rtRuntestsConfiguration, see Configuration) and then executes a single test or a group of tests.
 +===== Test Group =====
 +A test group (rtPhpTestGroup) is currently defined as all of the tests within a single directory.  It seems likely that groups of tests can be run in parallel, teh prototype code is designed to enable that.
 +
 +There is currently no group configuration class, however, it is possible that one may be required. For example there might be groups of tests that cannot be run at the same time as other groups (tests with REDIRECT?). 
 +===== Test Case =====
 +Each test case is executed in it's own process. Many classes are associated with the execution of a single test case. The following subsections give a brief description of the responsibilities of each class.
 +
 +
 +====== Configuration classes ======
 +
 +
 +
  
 ====== Parallel Execution ====== ====== Parallel Execution ======
qa/runtests/documentation.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1