Hi, sorry to say, but those are the most simple examples you'll find. Believe me we're not making them harder then they need to.
here is the example: https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/web-jersey the corresponding test is: https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty/JerseyCustomContextIntegrationTest.java regards, Achim 2017-05-31 16:14 GMT+02:00 Umesh Rajani <[email protected]>: > Hi > > I have gone through :https://github.com/ops4j/org.ops4j.pax.web > I have checked examples :https://github.com/ops4j/org. > ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest- > container/pax-web-itest-container-jetty > > But it is too much complex to replicate in my own code, I want to perform > runtime unit test for jersey REST bundle, I checked there are already > sample test for jersey given but it hard to decode and replicate. > > So do we have any simple example to use Web PAX-Exam for unit test for any > web application. > > I'm already using PAX-Exam for unit testing for non-web bundle and it > works fine. but to test > REST jersey giving me nightmare > > Please anyone has gone through any simple example. > > Thank you > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
