karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Updated] (KARAF-532) KarafMock allowing to test blueprint config files or class annoted
Date Tue, 25 Feb 2014 13:18:22 GMT

     [ https://issues.apache.org/jira/browse/KARAF-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-532:
---------------------------------------

    Summary: KarafMock allowing to test blueprint config files or class annoted  (was: KarafMock
allowing to test blueprin config files or class annoted)

> KarafMock allowing to test blueprint config files or class annoted
> ------------------------------------------------------------------
>
>                 Key: KARAF-532
>                 URL: https://issues.apache.org/jira/browse/KARAF-532
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-core, karaf-tooling
>            Reporter: Charles Moulliard
>             Fix For: 3.1.0
>
>
> Some OSGI projects requires that we have OSGI platform running to test them (ex : Aries
Blueprint). Karaf project does not provide any Mock component for doing that and so it is
not possible to make tests about Blueprint using a java Unit test + spring. 
> http://aries.15396.n3.nabble.com/Using-Aries-outside-OSGi-Container-Using-Aries-like-SpringApplicationContext-td2721343.html
> We could create a mock component to allow that. Spring DM project has created a Mock
class (http://static.springsource.org/osgi/docs/1.2.1/reference/html-single/#testing:mocks)
that we could reuse but the approach followed by Eclipse Virgo could be more clever. They
have created Stubs classes (http://wiki.eclipse.org/Virgo/Test) registering through interfaces
the OSGI classes of the frameworks who can be used in unit test. 
> Question : Who should be the owner of that (karaf or aries) ?
> Charles



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message