|
From: Marcus B. <ma...@wo...> - 2009-09-18 15:46:45
|
Hi... Mikkel N. Rasmussen wrote: > which sould generate some kind of error since the $notDefinedVariable is > not defined, the test is reported as passing. When I step through the > code, I see that the SimpleTestErrorHandler gets invoked, but still, no > errors gets reported. Does your debugger work by tailing the PHP error log? That is, is it intercepting the messages that would go to the browser, but for a php.ini setting hiding the errors. To avoid duplicates when both a debugger and web page sees the errors, SimpleTest does not echo them to the debugger. That was the bit in the comment about the behaviour maybe changing later (it since has). Three options: 1) Change the php.ini as Jason suggested, so that errors are visible on the web page on your dev. box. 2) Use the latest SVN version (PHP 5 only). 3) Remove the if clause of the error handler to do with "log_errors". Does that help? > > Regards, > Mikkel yours, Marcus |