The problem with the
output, is that it is really hard to read. How can I have some clean
output?
Have you tried putting <pre> tags around your loop?
I've never used phpunit, but when debugging I pretty much always wrap
output in pre tags to make of more readable.
$suite = new PHPUnit_Framework_TestSuite('StringTest');
$result = $suite->run();
echo '<pre>';
foreach ($result->failures() as $failure){
echo '<hr>' . $failure->thrownException();
}
echo '</pre>';
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net