]> granicus.if.org Git - php/commitdiff
additions
authorMarcus Boerger <helly@php.net>
Thu, 24 Oct 2002 00:00:26 +0000 (00:00 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 24 Oct 2002 00:00:26 +0000 (00:00 +0000)
README.TESTING

index 5d7c0f6fde02b6a4f1f8b3538a4eff84b2f93a85..a2624b74b35b2749c774bd7ca2d7a8d29ec6274c 100644 (file)
@@ -52,8 +52,8 @@ from the source root and any subdirectories below. If there are files,
 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 @@ abcd
 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