Re: Server-Side Testing

2022-09-27 Thread Oliver Lietz
On Monday, 26 September 2022 18:21:26 CEST Andreas Schaefer wrote: > Hi > > As mentioned in my previous email I ran into an issue with Composum as I > could not open it with the Pax Tests even though I included composum() > setup. > > I could fix that with this line: > >

Re: Server-Side Testing

2022-09-26 Thread Eric Norman
The paxexam tests are running inside of the OSGi runtime. So if you just need to create a file in the repository, then maybe you could just inject a reference to the SlingRepository service into your test class and use that to interact with the JCR repository to do the work? For example:

Re: Server-Side Testing

2022-09-26 Thread Andreas Schaefer
Hi As mentioned in my previous email I ran into an issue with Composum as I could not open it with the Pax Tests even though I included composum() setup. I could fix that with this line: mavenBundle().groupId("org.apache.geronimo.bundles").artifactId("jstl").version("1.2_1"), I have another

Re: Server-Side Testing

2022-09-08 Thread Oliver Lietz
On Monday, 22 August 2022 23:14:12 CEST Andreas Schaefer wrote: > Hi Oliver Hi Andy, > 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. Testing PaxExam provides

Re: Server-Side Testing

2022-08-23 Thread Eric Norman
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,

Re: Server-Side Testing

2022-08-22 Thread Andreas Schaefer
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

Re: Server-Side Testing

2022-08-15 Thread Oliver Lietz
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