Re: PEAR-wide unit test suite
| From: | roehr at zilleon dot com | Date: | Wed, 01 Aug 2007 08:57:25 +0000 |
| Subject: | Re: PEAR-wide unit test suite | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-47736@lists.php.net to get a copy of this message | ||
>The test log can be found on
>http://tmp.cweiske.de/pear-alltests.log.bz2
>I needed to bzip it since it's uncompressed 5.7MiB.
Hi Christian,
excellent job. I have a small request though. Some of my HTTP_Session tests fail because they call
session_start() which causes "headers already sent" PHP errors.
The offending lines in pear/AllTests.php are 462-467:
public static function log($message)
{
if (self::$bVerbose) {
echo $message . "\n";
}
}
Maybe you can use output buffering or collect the messages in a string before outputting them at the
end.
Thanks and best regards,
Torsten