Hi Buddhima,

This[1] test case might help you.

[1]
https://github.com/wso2-dev/product-dss/blob/master/modules/integration/tests-integration/tests/src/test/java/org/wso2/dss/integration/test/datasource/DataSourceInitializationAtStartUpTestCase.java

Thanks,
Iqbal


On Fri, Jan 23, 2015 at 5:42 PM, Buddhima Wijeweera <[email protected]>
wrote:

> Hi,
> I need to write test-cases for a new feature which connects with a
> database (H2).
> Tests need to;
> * Create a new table.
> * Remove table.
>
> Is this possible with the Test-Framework?
> If so, please provide a sample test-case for that.
>
> Thank You!
>
> --
> Buddhima Wijeweera
> Software Engineer; WSO2 Inc.; http://wso2.com ,
>
> Mobile: +94 71 427 9966
> Email: [email protected]
> Blog:   https://buddhimawijeweera.wordpress.com
> GitHub Profile: https://github.com/Buddhima
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Irham Iqbal
Software Engineer - Test Automation
 WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to