Ok, but isn't that redundant with logging? in such case it wouldn't be beneficial to use? I was trying to follow the whole thread, and from what I was reading before it seemed like some were thinking of Category.assert() as what is used in JUnit. If not, I would think that it wouldn't be proper to use and assert in that way. I would think that you would send a ERROR, or FATAL and have your program handle the code to exit out. An assert after all is an "if" clause. I haven't been in the Java community more then a few months so I could be way off... but it would seem more logical to me to adopt the JUnit interpretation of an assert as a precondition to working, and leave the rest to if statements and FATAL logging levels...? -Ben ps. its probably a good thing its getting removed... "Hansen, Richard" wrote: > Junit is a testing framework. Junit's asserts are used during testing and > intended to "assert" the success of a test case. Category.assert()is, I > think, for testing assertions in a deployed application. I don't see how > Junit helps here. Am I missing something? > > Besides in SDK 1.4 Java is adding a language assertion mechanism. > > Rick Hansen > > > -----Original Message----- > > From: Benjamin Russell Stocum [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 25, 2001 1:43 PM > > To: LOG4J Users Mailing List > > Subject: Re: Category.assert() disappointing > > > > > > Has anyone looked at JUnit? This is where you want to get > > all your asserts > > from :) > > Duplication is not necessary if its already done, and done > > right at that I > > might add. > > > > -Ben Stocum > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
begin:vcard n:Stocum;Ben tel;home:442-1316 tel;work:383-3510 x-mozilla-html:FALSE url:http://www.paychex.com org:Paychex, Inc;Enterprise Development adr:;;911 Panorama Trail S.;Rochester;NY;14625-2396; version:2.1 email;internet:[EMAIL PROTECTED] title:Developer Lv 1 fn:Ben Stocum end:vcard
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]