helly Wed Oct 23 20:00:26 2002 EDT
Modified files:
/php4 README.TESTING
Log:
additions
Index: php4/README.TESTING
diff -u php4/README.TESTING:1.12 php4/README.TESTING:1.13
--- php4/README.TESTING:1.12 Wed Oct 23 17:44:43 2002
+++ php4/README.TESTING Wed Oct 23 20:00:26 2002
@@ -52,8 +52,8 @@
which have a "phpt" extension, "run-tests.php" looks at the sections
in these files, determines whether it should run it, by evaluating
the 'SKIP' section. If the test is eligible for execution, the 'FILE'
-section is extracted into a ".php" file, with a unique name and
-executed.
+section is extracted into a ".php" file (with the same name besides
+the extension) and gets executed.
When an argument is given or TESTS environment variable is set, the
GLOB is expanded by the shell and any file with extension "*.phpt" is
regarded as a test file.
@@ -208,7 +208,8 @@
Test script and SKIPIF code should be directly written into *.phpt.
However, it is recommended to use include files when more test scripts
depend on the same SKIPIF code or when certain test files need the same
-values for some input.
+values for some input. But no file used by any test should have one of
+the following extensions: ".php", ".log", ".exp", ".out" or ".diff".
/ext/standard/tests/strings 003.phpt is a good example for using EXPECTF
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php