Not sure Hemika, According to the pax-exam code base looks like it supports for OSGi per-suite scenarios also, see [1].
It may be a documentation gap, could you try contacting their mailing list? [1]. https://github.com/ops4j/org.ops4j.pax.exam2/blob/master/itest/osgi/src/it/regression-multi/src/test/java/org/ops4j/pax/exam/regression/multi/inject/SuiteTest.java Regards, Aruna On Wed, Jun 15, 2016 at 1:21 PM, Hemika Kodikara <hem...@wso2.com> wrote: > *but the document *doesn't* say that it supports OSGi, > > Hemika Kodikara > Software Engineer > WSO2 Inc. > lean . enterprise . middleware > http://wso2.com > > Mobile : +94777688882 > > On Wed, Jun 15, 2016 at 1:20 PM, Hemika Kodikara <hem...@wso2.com> wrote: > >> Hi Aruna, >> >> I checked the mentioned document earlier, but the document does say that >> it supports OSGi, >> >> "This strategy is only supported in Java EE, CDI and Web modes." >> >> Regards, >> Hemika >> >> >> Hemika Kodikara >> Software Engineer >> WSO2 Inc. >> lean . enterprise . middleware >> http://wso2.com >> >> Mobile : +94777688882 >> >> On Wed, Jun 15, 2016 at 1:17 PM, Aruna Karunarathna <ar...@wso2.com> >> wrote: >> >>> >>> >>> On Wed, Jun 15, 2016 at 1:11 PM, Hemika Kodikara <hem...@wso2.com> >>> 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 ? >>>> >>> >>> Yes, you should be able to run per-suite according to the docs [1]. >>> >>> [1]. https://ops4j1.jira.com/wiki/display/PAXEXAM4/Reactor+Strategies >>> >>>> >>>> Regards, >>>> Hemika >>>> >>>> Hemika Kodikara >>>> Software Engineer >>>> WSO2 Inc. >>>> lean . enterprise . middleware >>>> http://wso2.com >>>> >>>> Mobile : +94777688882 >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> >>> *Aruna Sujith Karunarathna * >>> WSO2, Inc | lean. enterprise. middleware. >>> #20, Palm Grove, Colombo 03, Sri Lanka >>> Mobile: +94 71 9040362 | Work: +94 112145345 >>> Email: ar...@wso2.com | Web: www.wso2.com >>> >>> >> >> > -- *Aruna Sujith Karunarathna * WSO2, Inc | lean. enterprise. middleware. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 71 9040362 | Work: +94 112145345 Email: ar...@wso2.com | Web: www.wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev