Hi Danesh,

We have written a common test class [1] in TAF for testing status of OSGI
bundles at server startup. You can refer this from here [1]. Hope this
helps.

[1]
https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-tests/src/main/java/org/wso2/carbon/integration/common/tests/OSGIServerBundleStatusTest.java


Regards


On Tue, Oct 21, 2014 at 9:30 AM, Waruna Perera <[email protected]> wrote:

> HI Danesh,
>
> You can use this guide[1] to get an idea as well as above.
>
> [1]
> http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/
>
> On Tue, Oct 21, 2014 at 8:54 AM, Ravindra Ranwala <[email protected]>
> wrote:
>
>> Hi Danesh,
>>
>> The way you write an integration tests depend on your product. Based on
>> that you have to extend a specific class and write integration tests. For
>> an instance if the product is ESB you have to extend the ESBIntegrationTest
>> class. Also you have to patch the product with the new artifact to test
>> that functionality. If you have a module where integration tests have
>> already been written then you can merely add the necessary test cases to
>> that module. For more information please refer this documentation [1].
>>
>>
>> [1.]
>> https://docs.wso2.com/display/TA430/WSO2+Test+Automation+Documentation
>>
>>
>> Thanks & Regards,
>>
>>
>>
>> On Tue, Oct 21, 2014 at 7:33 AM, Danesh Kuruppu <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I wrote new osgi service to expose configuration context. Need to write
>>> integration test case for that. what is the best way I could follow.
>>>
>>> Please help
>>>
>>> Thanks
>>> --
>>>
>>> Danesh Kuruppu
>>> Software Engineer
>>> WSO2 Inc,
>>> Mobile: +94 (77) 1690552
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Ravindra Ranwala
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>> Mobile: +94714198770
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Waruna Perera
> Senior Software Engineer - Test Automation
> Mobile: +94 77 3867037
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to