logo       

Re: FAQ entry critique (Re: Re: distinguishing between failures and errors): msg#00147

java.junit.user

Subject: Re: FAQ entry critique (Re: Re: distinguishing between failures and errors)

J. B. Rainsberger wrote:

>>>Suggestion: change the failure message to "Read from a nonexistent
>>>
>file?!". I
>
>>>prefer this pattern because it indicates what the system did incorrectly
>>>
>in a
>
>>>higher-level way. I also think it's funnier when I see it in the test
>>>results. ;)
>>>
>>Yeah, and then append "I'm sorry, Dave, I'm afraid I can't do that"
>>to all the failures by default.
>>
>
>If JUnit had built-in support for playing a sound file on failure....
>

I do this with Ant when all the tests in the system are run.

You get a different sound depending on whether the build fails or succeeds.


:->

Mike


[Non-text portions of this message have been removed]




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise