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 Manjula Kutty <ma...@gmail.com> on 2009/01/16 21:50:37 UTC

How to run the replication tests

I was trying to run only the replication test suite or a single replication
test. But when I checked the ReplicationTests folder there are 3 "readme"
files. So Is there a single file which shows how to run the replication
suite alone like we run lang suite or any other suite and same with the
single test. Or am I missing something?

-- 
Thanks,
Manjula.

Re: How to run the replication tests

Posted by Manjula Kutty <ma...@gmail.com>.
Hi Ole

Thank you for the clarification

Manjula

On Mon, Jan 19, 2009 at 1:13 AM, Ole Solberg <Ol...@sun.com> wrote:

>  Manjula Kutty wrote:
> > I was trying to run only the replication test suite or a single
> replication
> > test. But when I checked the ReplicationTests folder there are 3 "readme"
> > files. So Is there a single file which shows how to run the replication
> > suite alone like we run lang suite or any other suite and same with the
> > single test. Or am I missing something?
> >
>
> The replication tests are run the same way as other JUnit tests:
>
> All replication tests:
> java junit.textui.TestRunner
>
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationSuite
>
>
> One subsuite:
> java junit.textui.TestRunner
>
> org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local
>
>
>
> ReplicationSuite shows which subsuites that are available for
> replication testing.
>
>
>
> I have created DERBY-4026 for improving the documentation of the
> replication tests, including update of the README files.
>
>
>
> --
> Ole Solberg, Database Technology Group,
> Sun Microsystems, Trondheim, Norway
>



-- 
Thanks,
Manjula.

Re: How to run the replication tests

Posted by Ole Solberg <Ol...@Sun.COM>.
Manjula Kutty wrote:
> I was trying to run only the replication test suite or a single replication
> test. But when I checked the ReplicationTests folder there are 3 "readme"
> files. So Is there a single file which shows how to run the replication
> suite alone like we run lang suite or any other suite and same with the
> single test. Or am I missing something?
> 

The replication tests are run the same way as other JUnit tests:

All replication tests:
java junit.textui.TestRunner
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationSuite


One subsuite:
java junit.textui.TestRunner
org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local



ReplicationSuite shows which subsuites that are available for
replication testing.



I have created DERBY-4026 for improving the documentation of the
replication tests, including update of the README files.



-- 
Ole Solberg, Database Technology Group,
Sun Microsystems, Trondheim, Norway