[
https://issues.apache.org/jira/browse/CAMEL-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213413#comment-15213413
]
Claus Ibsen commented on CAMEL-6132:
------------------------------------
I found some code here that can be usable
https://github.com/ANierbeck/Camel-Pax-Exam-Demo/blob/master/route-control/src/test/java/de/nierbeck/camel/exam/demo/control/route/KarafRoutingTest.java
For example how to execute commands, as it would be nice to be able to run the
camel commands in your unit tests, and greb the output.
Also the injeciton of the feature service is nice so you can install custom
features also.
> camel-test-karaf - To allow end users more easily do Camel and Karaf
> integration test
> -------------------------------------------------------------------------------------
>
> Key: CAMEL-6132
> URL: https://issues.apache.org/jira/browse/CAMEL-6132
> Project: Camel
> Issue Type: New Feature
> Components: karaf
> Reporter: Claus Ibsen
> Assignee: Quinn Stevenson
> Fix For: Future
>
>
> We should introduce a proper camel-test-karaf component that *end users* can
> use to do Camel and Karaf integration tests.
> The code we have in tests/camel-itest-karaf is for internal usage and testing
> of Camel. The code is not polished and intended for end users.
> We should create a new module for that, and take the good parts of
> camel-itest-karaf and make it user friendly etc. And of course have docs to
> go with as well.
> And when its good, we can use that in camel-itest-karaf also (eat our own dog
> food)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)