db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <home4...@pacbell.net>
Subject Re: Integrating a JUnit test into the test harness was: Re: [Db-derby Wiki] Update of "IntroToJUnit" by SusanCline
Date Thu, 31 Aug 2006 20:31:30 GMT
Hi Myrna,
 
That was the problem!  Thanks a lot for your help.  I removed the existing test output files
and now
everything passes - derbylang, lang/MathTrigFunctionsTest and lang/_Suite.
 
Susan

----- Original Message ----
From: Myrna van Lunteren <m.v.lunteren@gmail.com>
To: derby-dev@db.apache.org
Sent: Wednesday, August 30, 2006 8:01:23 PM
Subject: Re: Integrating a JUnit test into the test harness was: Re: [Db-derby Wiki] Update
of "IntroToJUnit" by SusanCline


On 8/30/06, Daniel John Debrunner <djd@apache.org> wrote:
> Susan Cline wrote:
>
>
> > But when I try to run the entire derbylang suite the only test that fails is _Suite,
> > but I'm wondering if it really failed:
> >
> > java org.apache.derbyTesting.functionTests.harness.RunSuite derbylang
> >
> > derbylang_fail.txt:
> > derbylang/derbylang.fail:lang/_Suite.junit
> >
> > But derbylang_pass.txt shows this at the bottom of the output:
> > ...
> > derbylang/derbylang.pass:lang/_Suite.junit
> > /MathTrigFunctionsTest.pass:lang/MathTrigFunctionsTest.junit
> >
> > Is there something else I need to do to make sure that RunSuite derbylang reports
that _Suite
> > passes?
>
> Can you submit a patch, that will be the easiest way to see what is
> going on.
>
> It looks like the derbylang.runall is messed up.
>
> Thanks,
> Dan
>
>
>
Just a thought - did you clean up / start in a clean directory when
you ran derbylang? I think if you have run a test in the same dir
previously, the functionTests test harness will look at all *fail.txt
files - or *pass.txt and pick up some items not normally part of the
suite.

Myrna

Mime
View raw message