Hi Vipul,
Information on the Derby tests can be found on the following pages:
http://wiki.apache.org/db-derby/DerbyTesting
http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?view=co
The regression tests are divided into two big chunks:
o Old style tests which run under a Derby-specific harness. You run
these tests like this:
java -org.apache.derbyTesting.functionTests.harness.RunSuite derbyall
o Newer and converted tests which run under the JUnit framework. We are
in the process of converting the old tests to JUnit. You run the JUnit
tests like this:
java -XX:MaxPermSize=128M -Xmx512m junit.textui.TestRunner
org.apache.derbyTesting.functionTests.suites.All
Hope this helps,
-Rick
On 3/4/11 3:11 AM, vipul modi wrote:
Hi
Is there any updated db for running test suites.
Any help in it will be really helpful.
Thanks
Vipul
On Fri, Mar 4, 2011 at 3:44 AM, Rick Hillegas
<[email protected] <mailto:[email protected]>> wrote:
Hi Vipul,
I assume you are referring to DERBY-584. I have replied on that
issue. That is probably a better place to discuss the specifics of
the fix and its tests.
Thanks,
-Rick
On 3/3/11 4:05 AM, vipul modi wrote:
Hi
The org.apache.derby.client.am.ColumnMetaData has no
DB2_SQLTYPE_NUMERIC case for getColumnMetaDataType() function.
Similarly in org.apache.derby.client.am.Types I updated the
case for NUmeric type and also in drda's SqlType.java.
The above changes gave the correct metadata.
But as this looks like a protocol change would like to know
which test case will check derbyclient and drda layer.
And also is there any specific reason for using decimal for
both numeric and decimal types.
Thanks
Vipul
On Wed, Mar 2, 2011 at 12:39 AM, Kathey Marsden
<[email protected]
<mailto:[email protected]>
<mailto:[email protected]
<mailto:[email protected]>>> wrote:
On 3/1/2011 10:47 AM, Rick Hillegas wrote:
On 3/1/11 7:33 AM, vipul modi wrote:
Hi
I am new to derby and would like to work on client
server
layer of derby db.
Can anyone suggest a initial starting point so that
, it
can get started with derby development.
Thanks
Vipul Modi
MSc.(Tech) Information System
BITS-Pilani Goa Campus
Hi Vipul,
One place to start would be to start fixing some of the
discrepancies between the client and embedded drivers. Look
for open JIRA issues which have the "Embedded/Client
difference" box checked. DERBY-584 might be an easy one to
start with
DERBY-4901 might be an easy one too and if you like protocol,
build up to DERBY-4805 .
In general when working with Derby I think it is good to do the
tutorial first.
http://db.apache.org/derby/papers/DerbyTut/index.html
Then get your build and test environment set up. See:
http://wiki.apache.org/db-derby/ForNewDevelopers
(also the relevant specifications are at the bottom of this
page)
and if you want to use eclipse, Tiago made a nice screen
cast for
this at:
http://www.vimeo.com/5376690
I would suggest you make sure suites.All and derbyall run
before
you start making code changes, so you can work out any kinks
separate from your code changes.
Welcome and please do not hesitate to ask questions.
Kathey
--
Vipul Modi
MSc.(Tech) Information System
BITS-Pilani Goa Campus
--
Vipul Modi
MSc.(Tech) Information System
BITS-Pilani Goa Campus