summaryrefslogtreecommitdiff
path: root/README.TESTING
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-10-24 00:00:26 +0000
committerMarcus Boerger <helly@php.net>2002-10-24 00:00:26 +0000
commit096d8dad8e04adce43004441dfb8f277fe6dd62c (patch)
tree167a675d94dbda6e35d424dd6131529959736a40 /README.TESTING
parent339dfe0cd2233927aadd733f02ff788d838cd027 (diff)
downloadphp-git-096d8dad8e04adce43004441dfb8f277fe6dd62c.tar.gz
additions
Diffstat (limited to 'README.TESTING')
-rw-r--r--README.TESTING7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.TESTING b/README.TESTING
index 5d7c0f6fde..a2624b74b3 100644
--- a/README.TESTING
+++ b/README.TESTING
@@ -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