| Nuno Lopes 2008-01-05, 7:00 pm |
| nlopess Sun Jan 6 00:07:23 2008 UTC
Modified files:
/qaweb write-test.php
Log:
add --FILE_EXTERNAL--. text by Greg
http://cvs.php.net/viewvc.cgi/qaweb...7&diff_format=u
Index: qaweb/write-test.php
diff -u qaweb/write-test.php:1.16 qaweb/write-test.php:1.17
--- qaweb/write-test.php:1.16 Wed Nov 14 10:20:24 2007
+++ qaweb/write-test.php Sun Jan 6 00:07:23 2008
@@ -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.16 2007/11/14 10:20:24 derick Exp $ */
+/* $Id: write-test.php,v 1.17 2008/01/06 00:07:23 nlopess Exp $ */
common_header();
?>
@@ -208,9 +208,18 @@
<dt>--ENV--</dt>
<dd>configures the environment to be used for php. (optional)</dd>
+<dt>--FILE--</dt>
+<dd>the test source-code. (required)</dd>
+
<dt>--FILEEOF--</dt>
-<dd>an alternative to --FILE-- where any trailing line break is omitted.
-(alternative to --FILE--)</dd>
+<dd>an alternative to --FILE-- where any trailing line break is omitted.</dd>
+
+<dt>--FILE_EXTERNAL--</dt>
+<dd>an alternative to --FILE--. This is used to specify that an external
+file should be used as the contents of the test file, and is designed
+for running the same test file with different ini, environment, post/get
+or other external inputs. The file must be in the same directory as the
+test file, or a subdirectory.</dd>
<dt>--EXPECT--</dt>
<dd>the expected output from the test script. (required)</dd>
|