Hi Andy, What I usually do for debugging/inspecting the pax exam instance is to add optional configuration to enable remote debugging (see [1]). Then you can set a breakpoint in your test code and it will stop there for you to take a look around.
One example of this is at: 1, AuthFormTestSupport.java#L94 <https://github.com/apache/sling-org-apache-sling-auth-form/blob/0040aac8a3a89a0cfc4727f2802bd560803c4c8a/src/test/java/org/apache/sling/auth/form/it/AuthFormTestSupport.java#L94> Hope that helps. Regards, Eric On Mon, Aug 22, 2022 at 2:14 PM Andreas Schaefer <schaef...@me.com.invalid> wrote: > Hi Oliver > > I am making good progress but I noticed that I cannot get composum up on > both 3.1.0 or 3.0.0 which is the current version I am using because I am > still running against Sling 11. > > The issues I see is: 'The absolute uri: http://java.sun.com/jsp/jstl/core > cannot be resolved’ > > Also is there a way to keep the Sling instance running (something like > keep running flag) after the tests were done in case I need to investigate > an issue with the Sling instance like bundles dependencies etc? > > Thanks - Andy > > > > On Aug 15, 2022, at 2:20 AM, Oliver Lietz <apa...@oliverlietz.de> wrote: > > > > On Sunday, 14 August 2022 23:15:16 CEST Andreas Schaefer wrote: > >> Hi > > > > Hi Andy, > > > >> I am working on some sling components and want to IT test them within > the > >> server to avoid client-side polling. > >> > >> It looks like there are two ways to do that: > >> > >> - Junit Servlet > >> - Sling Testing Server Setup and Teleporter > >> > >> Does Sling do any server side testing? > >> What is the currently support way of doing server side tests? > > > > Running tests inside the OSGi container is the default when using OPS4J > Pax > > Exam. See the list of Sling modules using Sling's Testing PaxExam and > have a > > look what the ITs are doing to get some ideas: > > > > https://sling.apache.org/documentation/development/testing-paxexam.html > > > > Let me know if more documentation is needed. > > > > HTH, > > O. > > > > > >> Thanks - Andy > > > > > > > > > >