Hi Supun, As we discussed offline best way to automate is using UI tests (Selenium)
You can refer document at [1] to understand how to add UI modules to your products. Tests at [2] can be refer as samples. You can follow any UI automation strategy convenient to you. Thanks, Krishantha. [1] http://wso2.com/library/articles/2014/10/article-introducing-ui-tests-for-wso2-products/ [2] https://github.com/wso2-dev/product-mb/tree/master/modules/integration/tests-ui-integration On Wed, Dec 3, 2014 at 11:52 AM, Supun Sethunga <[email protected]> wrote: > Hi Krishantha, > > We are in the process of writing integration tests for the ML product. > > The basic structure of the product is that, there is a set of OSGI > services, and these services are directly called from the UI (which is a > Jaggery app). When I look at the Integration test written for other > products, all the services have being called by the test cases through > their stubs. But in our case we don't have stubs for the OSGI services. > > What is the preferred way of testing these services without stubs? Is > there a sample code I can refer to? > > Thanks, > Supun > > -- > *Supun Sethunga* > Software Engineer > WSO2, Inc. > lean | enterprise | middleware > Mobile : +94 716546324 > -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
