On 15 January 2014 12:37, Udara Liyanage <[email protected]> wrote:

> Hi Chamila,
>
> If I understood you correctly, you can write test cases for your functions
> too. You can use our integration framework for this.
>
+1. Please write test cases if possible. Based on the wire frames that you
had previously posted, it seems that your project will be written on top of
carbon. If so, you can use the integration framework to write your test
cases.

You might find the documentation in [1] useful for this task. You can also
find CEP test cases here [2]. I think you can start by writing a simple
test case first by copying an existing one and modifying it to suit your
needs.

If your project is not based on carbon, you can still write unit tests.
Siddhi [3] has a lot of unit tests that you can refer to which are not
based on the carbon test automation framework.

You can always drop a mail to dev if you run into any issues when writing
test cases.

[1] http://docs.wso2.org/display/TA100/Overview
[2]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/cep/3.1.0/modules/integration/tests/

[3]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/dependencies/commons/siddhi/2.1.0-wso2v1/modules/siddhi-core/src/test/

Thanks,
Lasantha

Touched, not typed. Erroneous words are a feature, not a typo.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: [email protected]
mobile: (+94) 71 5247551
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to