commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: [jelly] unit testing: detecting exceptions
Date Tue, 03 Dec 2002 15:58:51 GMT
I personally believe it's unfortunate it's been named that way. It makes it
quite un-JUnit like to me, and inconsistent with the existing Jelly
assertEquals. Oh well, I haven't started using Jelly yet, just getting
interested by it (and your own interest to it makes it interesting to me ;-)

--DD

-----Original Message-----
From: Wannheden, Knut [mailto:knut.wannheden@paranor.ch] 
Sent: Tuesday, December 03, 2002 2:07 AM
To: 'Jakarta Commons Users List'
Subject: RE: [jelly] unit testing: detecting exceptions

Dominique,

Funny that you found the same pattern useful in Java aswell.  There you at
least don't have the problem that the try and catch blocks are disconnected
as with Jelly.  Well now it's "assertThrown" afterall.  See
http://jakarta.apache.org/commons/sandbox/jelly/tags.html#junit:assertThrown
.

--
knut 

Mime
View raw message