diff options
author | Marcus Boerger <helly@php.net> | 2002-10-30 12:18:48 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-10-30 12:18:48 +0000 |
commit | fde7dffabd9ff869b8937ac6fc12bbabf6680a5c (patch) | |
tree | 477d7a47836cbff42b495c95d99d201f634fe617 /README.TESTING | |
parent | 7b9eae0e6eb2f180d8c727493d4730a7951af891 (diff) | |
download | php-git-fde7dffabd9ff869b8937ac6fc12bbabf6680a5c.tar.gz |
Enough discussion on display_erros it seems
Diffstat (limited to 'README.TESTING')
-rw-r--r-- | README.TESTING | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/README.TESTING b/README.TESTING index 093c2398d3..ca21f3ae78 100644 --- a/README.TESTING +++ b/README.TESTING @@ -270,11 +270,15 @@ When you use an include file for the SKIPIF section it should be named "skipif.inc" and an include file used in the FILE section of many tests should be named "test.inc". -If your test intentionally generates a PHP warning message, insert -'track_errors=1' into the --INI-- section. This will store the -warning inside a $php_errormsg variable, which you can then output. -This will result in a consistent error message output across all platforms -and PHP configurations, preventing your test from failing due inconsistencies +NOTE: All tests should run correctly with error_reporting(E_ALL) and +display_errors=1. This is the default when called from run-test.php. +If you have a good reason for lowering the error reporting, use --INI-- +section and comment this in your testcode. + +NOTE: If your test intentionally generates a PHP warning message use +$php_errormsg variable, which you can then output. This will result +in a consistent error message output across all platforms and PHP +configurations, preventing your test from failing due inconsistencies in the error message content. [How to help us] |