directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] [Commented] (DIRAPI-215) Add OSGi tests
Date Tue, 23 Dec 2014 16:26:13 GMT


Stefan Seelmann commented on DIRAPI-215:

Aded new integration test module "integ-osgi":

The tests require that all API modules were previously build and installed to the local maven
repo. There is one test for each API module. Each test verifies that the specific bundle was
installed and started, additionally it invokes some code within the bundle to check that classes
can be loaded.

Further possible improvements:
* Extract dependencies in pom.xml and helper code in ApiOsgiTestBase into a new maven module
(like junit-addons) so that it can be reused in ApacheDS
* Try to move tests to their modules, to allow faster feedback
* Run all the API tests as pax-exam test

> Add OSGi tests
> --------------
>                 Key: DIRAPI-215
>                 URL:
>             Project: Directory Client API
>          Issue Type: Task
>    Affects Versions: 1.0.0-M26
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 1.0.0-M27
> Let's add tests that verify that all generated API artifacts are valid OSGi bundles and
can be installed and started within an OSGi container. This helps to avoid problems in downstream
projects (i.e. Studio) which require valid bundles.

This message was sent by Atlassian JIRA

View raw message