Hi, I thought you are creating a new test...... In the New CPACTF every test is independent and you just have to configure it,
In in the configuration file "cpactf-conf.xml" mysql is configuerd as default database, for mysql execute every "mysql.sql"(presently we only have mysql scripts) script found in subdirectories of "cpactf/src/test/ddl/" directory. If you like to use a different name for the database or use other user credential you can adjust them at "cpactf/src/test/resources/cpactf-conf.xml" Regards, Udai On 6/13/08, Werner Guttmann <[EMAIL PROTECTED]> wrote: > > Hi Udai, > > Udai Gupta wrote: > > Hi, > > > >>> how does one go about creating database tables for the new (real) junit > >>> tests in cpactf/src/test/java ? > > create dll and put into corresponding package( by creating it) in > > "cpactf/src/test/dll" and then you have to modify "cpactf-conf.xml" > which > > available in "cpactf/src/test/resource" for mapping and then you have to > add > > the mapping file in corresponding package in "cpactf/src/test/resource". > > > >>> Is it really that one does have to > >>> execute all the *.sql statements as available in cpactf/src/test/dll ? > > No you just need to create the table of corresponding test in the table. > Sure, I do understand that. But it looks like I will have to execute > each of the existing DDL scripts in src/test/ddl manually against my > database ? > > Werner > > > > > hope this will help, If you still face the problem you can ask for more > > details. > > > > Regards, > > Udai > > > > > > > > On 6/13/08, Werner Guttmann <[EMAIL PROTECTED]> wrote: > >> Hi, > >> > >> how does one go about creating database tables for the new (real) junit > >> tests in cpactf/src/test/java ? Is it really that one does have to > >> execute all the *.sql statements as available in cpactf/src/test/dll ? > >> > >> Regards > >> Werner > >> > >> --------------------------------------------------------------------- > >> To unsubscribe from this list, please visit: > >> > >> http://xircles.codehaus.org/manage_email > >> > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >

