db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramin Moazeni" <rmoaz...@gmail.com>
Subject Re: Common Junit test conversion mistakes
Date Fri, 10 Aug 2007 23:41:43 GMT
Hi Kathey

Regarding sample tests, among the tests I converted, I think
jdbcapi/parameterMetadataJdbc30.java conversion is a good
test for starters. It is not too long, not too short and not that difficult.

Maybe we can have a diff of the original and the converted
test with couple of sentences before each fixture, decorators, ....

Also, I think we need to mention that in the FAQ page that we need to
remove the test from JDBCHarnessJavaTest.java as well.


On 7/5/07, Kathey Marsden <kmarsdenderby@sbcglobal.net> wrote:
> I updated the wiki page:
> http://wiki.apache.org/db-derby/ConvertOldTestToJunitTips
> with some common JUnit conversion mistakes, since we all seem to hit the
> same tripwires starting out.   I am hoping that folks, especially those
> who recently started converting tests (Ugo, Ramin and Ravinder) as well
> as those who have been reviewing tests (Dan, Myrna, Knut) could take a
> look and see if there is anything that should be added. Also I want to
> give an example of a really good simple test that newcomers could study
> or use as a template to get started.  Does anyone have a suggestion for
> which test this should be?
> Kathey

View raw message