cvs: qaweb / write-test.php

From: Date: Thu, 07 May 2009 09:25:35 +0000
Subject: cvs: qaweb / write-test.php
Groups: php.qa 
Request: Send a blank email to php-qa+get-64885@lists.php.net to get a copy of this message
zoe Thu May 7 09:25:35 2009 UTC Modified files: /qaweb write-test.php Log: Adding an 's' to run-test http://cvs.php.net/viewvc.cgi/qaweb/write-test.php?r1=1.23&r2=1.24&diff_format=u Index: qaweb/write-test.php diff -u qaweb/write-test.php:1.23 qaweb/write-test.php:1.24 --- qaweb/write-test.php:1.23 Tue Jan 13 16:15:05 2009 +++ qaweb/write-test.php Thu May 7 09:25:35 2009 @@ -3,7 +3,7 @@ $TITLE = "Writing Tests [PHP-QAT: Quality Assurance Team]"; $SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__)); -/* $Id: write-test.php,v 1.23 2009/01/13 16:15:05 zoe Exp $ */ +/* $Id: write-test.php,v 1.24 2009/05/07 09:25:35 zoe Exp $ */ common_header(); ?> @@ -64,7 +64,7 @@ <li> <b>How is a phpt test is used?</b> - <p>When a test is called by the run-test.php script it takes various + <p>When a test is called by the run-tests.php script it takes various parts of the phpt file to name and create a .php file. That .php file is then executed. The output of the .php file is then compared to a different section of the phpt file. If the output of the script "matches" the output provided in the phpt script - it passes.</p> @@ -313,7 +313,7 @@ <p>Some tests depend on modules or functions available only in certain versions or they even require minimum version of php or zend. These tests should be skipped when the requirement cannot be fulfilled. To achieve this you can -use the SKIPIF section. To tell run-test.php that your test should be skipped +use the SKIPIF section. To tell run-tests.php that your test should be skipped the SKIPIF section must print out the word "skip" followed by a reason why the test should skip.</p> @@ -431,7 +431,7 @@ <h3>Error reporting in tests</h3> <p>All tests should run correctly with error_reporting(E_ALL) and -display_errors=1. This is the default when called from run-test.php. If you +display_errors=1. This is the default when called from run-tests.php. If you have a good reason for lowering the error reporting, use --INI-- section and comment this in your testcode.</p>

« previous php.qa (#64885) next »