You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bergquist, Brett" <BB...@canoga.com> on 2013/09/26 18:02:02 UTC

Need pointers on running tests on built versoin of trunk

I am trashing about trying to figure out how to correctly run the tests after building the trunk code.   I want to run the engine/ErrorStreamTest as a single test.  How do I go about doing that?

I followed the procedure on
http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?view=co

And have classpath setup, and I can run:

 java -Dframework=DerbyNetClient org.apache.derbyTesting.functionTests.harness.RunTest lang/supersimple.sql

but I don't know the command line to run engine/ErrorStreamTest?





Re: Need pointers on running tests on built versoin of trunk

Posted by Myrna van Lunteren <m....@gmail.com>.
Hi,

You're not the first to trip over our slow progress of moving to junit.
The README.htm belonged to the old harness of master-based tests.
We've been slooooowly converting tests to junit, and usually new tests are
written in junit. engine/ErrorStreamTest is a junit test.

For instructions on how to execute the junit tests, see:
http://wiki.apache.org/db-derby/DerbyJUnitTesting, especially towards the
bottom are some practical examples.
I just noticed this page has gotten out of date too, the 'old harness' no
longer runs any junit tests.

HTH,
Myrna


On Thu, Sep 26, 2013 at 9:02 AM, Bergquist, Brett <BB...@canoga.com>wrote:

> I am trashing about trying to figure out how to correctly run the tests
> after building the trunk code.   I want to run the engine/ErrorStreamTest
> as a single test.  How do I go about doing that?****
>
> ** **
>
> I followed the procedure on****
>
>
> http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?view=co
> ****
>
> ** **
>
> And have classpath setup, and I can run:****
>
> ** **
>
>  java -Dframework=DerbyNetClient
> org.apache.derbyTesting.functionTests.harness.RunTest lang/supersimple.sql
> ****
>
> ** **
>
> but I don’t know the command line to run engine/ErrorStreamTest?****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>