Re: [Dev] Write integration test for new osgi service.

2014-10-27 Thread Krishantha Samaraweera
Hi, On Tue, Oct 21, 2014 at 7:33 AM, Danesh Kuruppu 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. > Integration tests are based on user stories. Can you explain use case scenari

Re: [Dev] Write integration test for new osgi service.

2014-10-21 Thread Dimuthu De Lanerolle
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/int

Re: [Dev] Write integration test for new osgi service.

2014-10-20 Thread Waruna Perera
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 wrote: > Hi Danesh, > > The way you write an integration tests depend on your prod

Re: [Dev] Write integration test for new osgi service.

2014-10-20 Thread Ravindra Ranwala
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 t

[Dev] Write integration test for new osgi service.

2014-10-20 Thread Danesh Kuruppu
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 mai