|
Re: FAQ entry critique (Re: Re: distinguishing between failures and errors): msg#00148java.junit.user
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. ;) > pholser wrote: > >i like the new examples, except that i'd add some language to indicate >that the file "exists.txt" was hopefully created by the test class's >setUp(), so that the test can run without having to depend on someone >else having put the file in place. > Done. http://junit.sourceforge.net/doc/faq/faq.htm#tests_9 Thanks for the help! Mike
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: FAQ entry critique (Re: Re: distinguishing between failures and errors), Mike Clark |
|---|---|
| Next by Date: | Re: Re: distinguishing between failures and errors, Mike Clark |
| Previous by Thread: | FAQ entry critique (Re: Re: distinguishing between failures and errors), pholser |
| Next by Thread: | RE: exceptions and distinguishing between failures and er rors, Mark Meyers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |