Hi Hemika, I think we should not use PAX exam to implement your test case. I think this falls under the category of integration tests. PAX Exam should be used only to test in-container tests which you cannot test using unit tests.
Thanks, Sameera. On Wed, Jun 15, 2016 at 1:11 PM, Hemika Kodikara <[email protected]> wrote: > Hi All, > > In C4, We had integration tests running in a way that the server is > started up by the test framework and the MB test cases were done through a > JMS client. This JMS client is completely independent from MB(has no > dependencies from MB other than the andes client jar). > > For C5, How can I achieve this ? IMO, running the JMS client in an OSGi > environment is not required. Is it possible to start and stop the server > using pax exam per testng suite ? > > Is there an example on how to achieve this ? As far I see, the only task > that needs to be done through pax exam is to start and stop the MB server > environment. > > Any advice on this ? > > Regards, > Hemika > > Hemika Kodikara > Software Engineer > WSO2 Inc. > lean . enterprise . middleware > http://wso2.com > > Mobile : +94777688882 > -- Sameera Jayasoma, Software Architect, WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://blog.sameera.org twitter: https://twitter.com/sameerajayasoma flickr: http://www.flickr.com/photos/sameera-jayasoma/collections Mobile: 0094776364456 Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
