[
https://issues.apache.org/jira/browse/DIRAPI-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257161#comment-14257161
]
Stefan Seelmann commented on DIRAPI-215:
----------------------------------------
Aded new integration test module "integ-osgi": http://svn.apache.org/r1647028
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: https://issues.apache.org/jira/browse/DIRAPI-215
> 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
(v6.3.4#6332)