Hi Rukshan, AFAIK there's something (may be a base class) Chamin implemented which can be used to write tests cases for new REST API. Hope we can use the same.
@Chamin: Could you please explain how to use it? Thanks, Bhathiya On Fri, Feb 12, 2016 at 10:13 AM, Rukshan Premathunga <[email protected]> wrote: > Hi all, > > We are planning to improve the Test coverage of the APIM by improving > current Test cases and adding new test cases. > Existing Test cases have used APIM jaggery API. But currently we have new > REST API and we can use that as well. > > If we are used new REST API we may need some base classes > (APIPublisherClient, APIStoreClient etc) which contain the common APIM > functionalities ( addAPI(), publishAPI(), Subscribe() etc). > > here are the concern when we starting to write new test cases. > > > 1. What would be the better way to implement such a base class using > new REST API? > 2. What is the possibilities to generate REST API Client using swagger? > 3. Possibilities to write base class by improving current REST API > test cases which is Data Driven Test? > > > Any suggestions and thoughts are highly appreciated. > > -- > Rukshan Chathuranga. > Software Engineer. > WSO2, Inc. > -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
