[
https://issues.apache.org/activemq/browse/CAMEL-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xuhongbo updated CAMEL-3213:
----------------------------
Attachment: camel-test.zip
camel-test:
is a spring patch to default loading bundles.also support a CamelTestSupport
liked interface to write test case;
came-test-demo:
contains a testCase to use camel-test
using spring-osgi-test, it will facilitate you to debug the testcase in Eclipse
ide;
But spring-osgi-test still has it's disadvantage to pax-exam; especially it's
import-package resolve strategy: only resolve the first started test-case. so
we may encounter class not found problem sometimes;
To resolve this problem you'd better support a manually manifest.
> facility to debug the camel test case in eclipse with spring osgi framework
> ---------------------------------------------------------------------------
>
> Key: CAMEL-3213
> URL: https://issues.apache.org/activemq/browse/CAMEL-3213
> Project: Apache Camel
> Issue Type: Test
> Components: tests
> Affects Versions: 2.4.0
> Reporter: xuhongbo
> Attachments: camel-test.zip
>
>
> To debug the camel test case in osgi framework with eclipse ide; if using
> PAX-EXAM , it is difficult than spring-osgi-test, because pax-exam ask for
> remote debug and ask for change the code of test-code to add remote debugging
> options;
> But if we use spring-osgi , it will loading some exhausted and expired
> bundles by default. Some bundles are expired and hardly to find in the maven
> repository;
> here give a patch to refine the default loaded bundles by spring-osgi-test,
> and also it support a CamelTestSupport-like interface to write test case, so
> the already written test cases can easily changed to run in spring osgi
> framework;
> Hope it's useful to you
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.