Removed check for php 5.3 and added TextUi test as per sebastianbergmann/phpunit#571
Printing cause of exception when present
removed check for php 5.3 when printing the cause of events
Adding test for TextUi when tests use an exception stack
By the way, I couldn't run the full test suite on phpunit. It hangs at the test regression/github/244. I'm running on a windows platform.
Thanks for the pull request. I'll get around to checking it out in the next couple of days. I'll need to look into the windows test suite too. It might be a problem on our part.
He @matheusd. I've looked over the patch and it look ok so far.
I think it would make sense to loop on the previous exception printing the whole stack?
For the failing tests: It seems to work for me but just delete the regression folder if you run into issues there.
If you fix up the test (and maybe add the loop if you want and another test for this) i think this would be a great addition to phpunit :)
Added exception and message to previous exceptions and cleaned up #586
Changelog for #586
Thanks a bunch!
Adapted test after #586 changed the output