directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <>
Subject Re: OSGi Tests for API
Date Sun, 21 Dec 2014 08:00:02 GMT
Le 20/12/14 18:40, Stefan Seelmann a écrit :
> On 12/16/2014 04:16 PM, Stefan Seelmann wrote:
>> re OSGi pax exam test:
>> That was a really good pointer, this tool is very helpful. It allows to
>> write tests that starts an OSGi container (Felix or Eclipse) and install
>> bundles. It is a bit tricky to configure because you need to define all
>> bundles it should install including transitive dependencies, but I found
>> a way to use the maven-dependency-plugin to generate a file containing
>> the dependencies (deps.txt) and then parse that file in the tests.
>> Currently its located in my sandbox, I create one test class for each
>> shared/api module, 50% is done, I'll do the rest within the next days.
>> Then I'd like to move it to shared project, either as its own
>> osgi-integrationtest module or if possible move each test directly to
>> the maven module it belongs to. Of course the same has to be done also
>> for ApacheDS.
> I'm finally done with creating the tests. The main thing they test is to
> start on OSGi container and install all bundles of the LDAP API to
> verify the the bundles are valid an and dependencies can be wired.
> I'll move it now from my sandbox to the API trunk as new maven module
> and make it part of the main build

Thanks a lot Stefan !

View raw message