Hi Vinod, In C5 main test base should be unit tests. In this case all admin services aka micro services should be tested in unit level for that you can refer MB C5 repository for unit tests Hemika added for MB.
Its ok to have few basic tests to check ports open and whether urls are accessible. But dont write tests that cover whole functionality of endpoint as we did in C4. Functionalities should be tested by User stories , which should be implemented in distributed platform. Thank you, Dharshana. On Wed, Aug 17, 2016 at 12:46 AM, Vinod Kavinda <[email protected]> wrote: > Thanks Hemika, I will have a look at this. Yes, we are using MSF4J. > > @Manuranga, I'm testing REST APIs from Activiti that we have integrated. > I'm trying to test the resource authorizations for these APIs. I'm afraid > unit tests aren't an option for this. > > Regards, > Vinod > > On Wed, Aug 17, 2016 at 7:38 AM, Manuranga Perera <[email protected]> wrote: > >> Are all the Java methods in the service class unit tested? What is the >> unit test code coverage? >> >> If so the integration will only be needed to test high level interactions. >> > > > > -- > Vinod Kavinda > Software Engineer > *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.* > Mobile : +94 (0) 712 415544 > Blog : http://soatechflicks.blogspot.com/ > [image: http://wso2.com/signature] > <http://wso2.com/signature> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Dharshana Warusavitharana Associate Technical Lead WSO2 Inc. http://wso2.com email : [email protected] <[email protected]> Tel : +94 11 214 5345 Fax :+94 11 2145300 cell : +94770342233 blog : http://dharshanaw.blogspot.com lean . enterprise . middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
