Re: How to EXPECT _error

From: Date: Tue, 07 Apr 2009 21:14:18 +0000
Subject: Re: How to EXPECT _error
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-64742@lists.php.net to get a copy of this message
Hello Alex, From http://qa.php.net/write-test.php (section "Error reporting in tests"): "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." Best Regards, Igor Feghali.

« previous php.qa (#64742) next »