RE: Enhancing Testing Client OSGi package

2020-02-14 Thread Stefan Seifert
did you try to use https://sling.apache.org/documentation/development/osgi-mock.html it can be used standalone or as part of sling mocks. stefan >-Original Message- >From: Andreas Schaefer [mailto:schaef...@me.com.INVALID] >Sent: Thursday, February 13, 2020 10:34 PM >To: dev >Subject: En

Re: Enhancing Testing Client OSGi package

2020-02-14 Thread Andreas Schaefer
I don’t think that would work for me. I have a set of IT that will test services running in a Sling Start Maven Plugin instance. In order to make sure that my tests can succeed and do not fail because of unsatisfied references I want to check the references before starting the tests (I had mult

Re: Enhancing Testing Client OSGi package

2020-02-14 Thread Andrei Dulvac
Hi Andy. Have a look at the felix HCs. There is a check in there for a list of osgi services to be up, iirc, which came from felix systemready, superseded by HCs. Sorry for lack of links. I'm not at my computer right now. Let me know if you don't find anything. - Andrei On Fri, 14 Feb 2020 at

Re: Enhancing Testing Client OSGi package

2020-02-14 Thread Andrei Dulvac
Also, I think these kinds of contributions to the sling testing clients would be very welcome. - Andrei On Fri, 14 Feb 2020 at 19:02, Andrei Dulvac wrote: > Hi Andy. > > Have a look at the felix HCs. There is a check in there for a list of osgi > services to be up, iirc, which came from felix s

Re: Enhancing Testing Client OSGi package

2020-02-24 Thread Oliver Lietz
On Friday, February 14, 2020 6:22:55 PM CET Andreas Schaefer wrote: > I don’t think that would work for me. > > I have a set of IT that will test services running in a Sling Start Maven > Plugin instance. In order to make sure that my tests can succeed and do not > fail because of unsatisfied refe

Re: Enhancing Testing Client OSGi package

2020-02-24 Thread Andreas Schaefer
As far as I can tell this does not work for my purpose. I need to run the tests in the project’s IT test with Sling and the full application installed. It needs to be run before the IT tests actually run just to make sure all references are satisfied (and maybe more later). My project has multip

Re: Enhancing Testing Client OSGi package

2020-02-24 Thread Oliver Lietz
On Tuesday, February 25, 2020 1:40:17 AM CET Andreas Schaefer wrote: > As far as I can tell this does not work for my purpose. I need to run the > tests in the project’s IT test with Sling and the full application > installed. It needs to be run before the IT tests actually run just to make > sure