Hi Gayan, I have added relevant artifacts to [1] which is inside integration test. I have added the test scenarios and kind of step by step assertions in [2].
[1] https://github.com/apache/stratos/tree/master/products/stratos/modules/integration/src/test/resources [2] https://github.com/apache/stratos/blob/master/products/stratos/modules/integration/src/test/java/org/apache/stratos/integration/tests/SampleApplicationsTest.java Thanks, Reka On Wed, Jul 29, 2015 at 5:51 PM, Gayan Gunarathne <gay...@wso2.com> wrote: > Hi Reka, > > Great! > > I assume that you are creating a separate json artifacts for this > integration testing rather than using the samples. Also what are the > assertions we have applied for artifacts to cover the integration test? > > Thanks, > Gayan > > On Wed, Jul 29, 2015 at 4:36 PM, Reka Thirunavukkarasu <r...@wso2.com> > wrote: > >> Hi All, >> >> I'm in the process of writing integration test to cover the CRUD >> operations of all the individual and the connected artifacts. The below >> test cases for add, get, update and remove will be covered in the >> integration test with all possible test scenarios. >> >> 1. Autoscaling policy (*Done*) >> 2. Network Partition (*Done*) >> 2. Cartridge (*Done*) >> 3. Deployment Policy (*Done*) >> - add relevant network partition >> - add deployment policy >> - update network partition >> - update deployment policy >> 4. Application Policy >> - add relevant network partition >> - add application policy >> 5. Cartridge Group >> 6. Application >> - add relevant network partition >> - add relevant deployment policy >> - add relevant application policy >> - add application >> - deploy application >> - update relevant network partition >> - update relevant deployment policy >> - update application >> >> This will reduce our effort of testing in the release and make sure that >> any build will be stable from master. >> >> Please share your opinions on improving this further in order to cover >> more complex scenarios. >> >> Thanks, >> Reka >> >> -- >> Reka Thirunavukkarasu >> Senior Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007 >> >> >> > > > -- > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985> > > > -- Reka Thirunavukkarasu Senior Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007