lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Goetz <>
Subject Re: Junit3.5 -> 3.7?
Date Mon, 28 Jan 2002 19:50:09 GMT
> I made all the changes to my tests locally, so if you agree with this I
> can replace junit35.jar with junit37.jar in lib/ directory and commit
> the test modifications.

This is good.  

Also, when writing JUnit tests, using
assertEquals/assertNull/etc is generally a lot better than using
assertTrue(foo.equals(bar)) because if there's a failure, JUnit writes
both values to the report file so you can see what it should have been
and what it was.  

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

View raw message