commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cantrell <>
Subject Re: [Lang] Assertions?
Date Tue, 22 Oct 2002 18:16:17 GMT
(1) JUnit throws a subclass of Error; validators show throw subclasses 
of RuntimeException (usually IAE).

(2) JUnit's methods are organized around tests, which have expected and 
actual values; validator methods would be organized around common 
internal integrity checks, which would likely lead to a different set 
of methods.


On Tuesday, October 22, 2002, at 10:26  AM, Steve Downey wrote:
> Why not just use JUnit? The style would be a little different, but it 
> can be
> used outside the testing framework.

   Paul Cantrell

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message