db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiranya Jayathilaka <hiranya...@gmail.com>
Subject Re: Derby Test Framework and New dblook Test
Date Tue, 18 Aug 2009 05:35:16 GMT
On Mon, Aug 17, 2009 at 10:08 PM, Dag H. Wanvik <Dag.Wanvik@sun.com> wrote:

> Hi Hiranya,
> Hiranya Jayathilaka <hiranya911@gmail.com> writes:
> > Hi Folks,
> >
> > I'm in the middle of writing the new tests for dblook. When going through
> > the existing dblook tests I realized that they are not junit tests. Some
> of
> > the test classes have main methods. So I was wondering how should I
> organize
> > the new tests. Should they be written as junit tests or should they be
> > similar to the existing tests?
> I had forgotten the old dblook tests were not in JUnit :( Converting
> those adds a not insignificant extra amount of work for you..
> Maybe you could first build the new tests in JUnit, and if you have
> time, convert the old test cases at the end of your effort,

+1. That's what I had in mind too.


> maybe the
> old tests will be fully superceded by your tests in any case.
> If you think converting the old tests will definitely be too much work
> given the time remaining, augmenting the present tests is also
> acceptable, I think. The community could convert them to JUnit
> later. I think it is more important that you get new tests in at all,
> than what format they are in.
> Obviously, we would prefer JUnit ;-) since we are trying to get rid of
> the canon based tests.
> Thanks again for your efforts!
> Dag

View raw message