lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Goetz <br...@quiotix.com>
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.  

<public-service-announcement>
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.  
</public-service-announcement>

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message