logo       

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

java.junit.user

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

> >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....

--
J. B. Rainsberger,
President, Diaspar Software Services
Let's write software that people understand.
http://www.diasparsoftware.com/
telephone: +1 416 791-8603



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

News | FAQ | advertise