Wow, that helped... the output still isn't that useful, but thats about content not looks. Thanks, it looks a lot better now. Justin Giboney
On Wed, Mar 4, 2009 at 7:51 PM, Brady Mitchell <[email protected]> wrote: > 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
