On Mar 29, 2009, at 2:29 PM, Phlip wrote:

> James Gray wrote:
>
>> I really feel counting the errors and reading the output are both   
>> things better handled by defining a good interface for the results   
>> writer.  If I could just define some trivial class with methods  
>> like  test_passed(), test_failed(), test_errored_out(), and  
>> tests_finished()  then just plug that in, I could easily do  
>> anything I want.
>
> What, besides instantly fix it (or revert) do you want to do with an  
> error message from a broken test?

The default writer wants to write them out to the console for the user  
to see.

In TextMate, I would override that behavior to color the error  
messages red in our command output window and hyperlink the stack  
trace back into TextMate documents.

James Edward Gray II