Hi, Evaluating different Test Automation Frameworks(WTAF) I have chosen WSO2 Test Automation Framework[1] for automating Stratos tests. In WTAF we can store configuration details related to backend API tests a single place (configuration file called automation.xml[2]). So we can store configuration details such as host name, port address, tenant details.. etc in that configuration file and get use of those configurations to write our tests. The advantage of this approach is we can maintain our tests static and we can change the configurations in the file if there are any changes to the configurations (Ex: In a case we want to execute same test cases for different environment). Also it facilitates execute test using testng annotations. I am working on the tests to cover all basic functionality RestAPI provided using WTAF.
BTW I have question about where we store these test classes. In normal project we can store these kind of test alone with it's source and execute in the build time. But for Stratos we should have pre set-up environment to execute these tests. WDYT ? [1]https://docs.wso2.org/display/TA430/WSO2+Test+Automation+Documentation [2]https://docs.wso2.org/display/TA430/Automation.xml+File Regards, Malintha Adikari On Fri, Mar 21, 2014 at 9:35 PM, Lahiru Sandaruwan <[email protected]> wrote: > Hi Malintha, > > Nice to hear. > > We have put some effort on Autoscaler test automating. Not completed > though. Find the details at the following thread, > > [Discuss][Autoscaler] Autoscaler integration test suite > > Thanks. > > > On Fri, Mar 21, 2014 at 1:57 AM, Malintha Adikari < > [email protected]> wrote: > >> Hi, >> >> I am interested in Apache Stratos project and would like to contribute >> Stratos project. I have checked out code from git and looked at the code. >> I would like to contribute the project in the aspect of automating tests. >> According to my understanding , currently we do not use any framework to >> automate tests. I am evaluating different Test Automation Frameworks for >> test automation task. I have also started writing some basic test cases for >> Stratos Rest API. >> >> Thanks & Regards, >> Malintha Adikari >> > > > > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: [email protected] cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > >
