[ 
https://issues.apache.org/jira/browse/KARAF-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191204#comment-17191204
 ] 

Jean-Baptiste Onofré commented on KARAF-6714:
---------------------------------------------

That's possible to test on an existing instance (not running as Pax Exam starts 
the instance with special configuration):

[http://blog.nanthrax.net/?p=1031]

Anyway, this will be improved in DevX.

> How to perform PaxExam integration tests against a running Karaf instance
> -------------------------------------------------------------------------
>
>                 Key: KARAF-6714
>                 URL: https://issues.apache.org/jira/browse/KARAF-6714
>             Project: Karaf
>          Issue Type: Question
>          Components: karaf
>    Affects Versions: 4.2.8
>         Environment: Apache Karaf 4.2.8
> PaxExam 4.13.3
>            Reporter: Nicolas
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>              Labels: integration-test, pax-exam, test
>
> Hello,
> I'm trying to perform a couple of integration tests using PaxExam. Following 
> the documentation, I found the @Configuration and @Probe annotated methods a 
> bit complicated, hence I would prefer to run my integration tests against the 
> current running karaf instance, which already contains all the bundles and 
> features, instead of starting another Karaf instance and dealing with the 
> deployment of all the required artifacts. Is that possible ? After all, these 
> are integrated tests, not unit ones and, accordingly, they don't have to be 
> ran in isolation.
> Many thanks in advance for any help.
> Kind regards,
> Nicolas DUMINIL



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to