Great work Reka! Will improve this to cover all possible scenarios as we progress.
Thanks On Friday, August 7, 2015, Reka Thirunavukkarasu <r...@wso2.com> wrote: > Hi All, > > I have completed an integration test suite for stratos. It is available > with following test classes with all the CRUD operations for all the > artifacts and with few application related test cases like application > deployment with groups, application update for group/cartridge and > application bursting. All the integration tests can be independently > executed. > > The convention that followed when writing integration test is to have > separate set of artifacts per integration test. Eg: If the integration test > class is ApplicationBurstingTest, then the relevant artifacts can be found > in resources/application-bursting-test/* as below: <%2B94776442007> > > > > If you need to write a new integration test, please follow below steps: > > - Create a test class inside the relevant package by extending > StratosTestServerManager. > - Create relevant samples inside resources > - Add the samples path to the test class > - Create relevant test methods using the existing restclient and add the > relevant assertion > - Add the test class to resource/strats-testng.xml > > Please do contribute to the integration test to include more scenarios as > time permits.. > > Thanks, > Reka > > -- > Reka Thirunavukkarasu > Senior Software Engineer, > WSO2, Inc.:http://wso2.com, > Mobile: +94776442007 > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos