Permalink
Browse files

Update documentation

  • Loading branch information...
1 parent 10149bb commit 32a77eff785a5b0e6220343833b378c218ab7b77 Marcus Boerger committed Oct 22, 2002
Showing with 4 additions and 1 deletion.
  1. +2 −0 README.TESTING
  2. +2 −1 ext/skeleton/tests/001.phpt
View
@@ -70,6 +70,7 @@ executed to the test script directory. For example, if
ext/myext/tests/myext.phpt is failed to pass, following files are
created:
+ext/myext/tests/myext.php - actual testfile executed
ext/myext/tests/myext.log - log of test execution (L)
ext/myext/tests/myext.exp - expected output (E)
ext/myext/tests/myext.out - output from test script (O)
@@ -80,6 +81,7 @@ ext/myext/tests/myext.diff - diff of .out and .exp (D)
NOTE: The files generated by tests can be selected by setting the
environment variable TEST_PHP_LOG_FORMAT. For each file you want to be
generated use the character in brackets as shown above (default is LEOD).
+The php file will be generated allways.
NOTE: You can set environment variable TEST_PHP_DETAILED to enable
detailed test information.
@@ -4,6 +4,7 @@ Check for extname presence
<?php if (!extension_loaded("extname")) print "skip"; ?>
--POST--
--GET--
+--INI--
--FILE--
<?php
echo "extname extension is available";
@@ -15,7 +16,7 @@ echo "extname extension is available";
to pass, differences between the output and the
expected text are interpreted as failure
- see php4/tests/README for further information on
+ see php4/README.testing for further information on
writing regression tests
*/
?>

0 comments on commit 32a77ef

Please sign in to comment.