karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Butler <joe_but...@yahoo.com>
Subject Karaf Pax Exam advice in Fuse ESB Release 7.1.0.xxx
Date Tue, 19 Feb 2013 23:35:38 GMT
Hello,

I am working with fuse esb release 7.1.0.fuse-047 and using the
documentation found here:
http://fusesource.com/docs/esbent/7.1/esb_deploy_osgi/PaxExam-Introduction.html

I acknowledge that is fuse documentation, but just wanted to mention one of
my sources :)  If there is a better forum for my question, I'll gladly go
elsewhere.  

It is my intent to deploy a simple OSGi service in fuse esb 7.1.0.fuse-047
and verify its existence in an integration test.  I *believe* the
recommendation is to use the Pax Exam framework for this.

It seems that org.apache.karaf.tooling.testing does not exist in the
2.3.0.xxx releases, therefore the examples I am following don't work due to
AbstractIntegrationTest being referenced and not present. (Last one I see is
in 2.2.5.fuse-70-087)

I then looked at the karaf documentation for integration tests, and it seems
there is some guidance coming that references
org.apache.karaf.tooling.exam.container artifacts, starting with 2.3.0.xxx
releases

I also looked at the source code for fuse, and noticed that there is a
"FuseTestSupport" class in the org.fusesource.tooling.testing/pax-exam-karaf
artifact.

So - the question is, which is the proper path to follow? Do I just use
"old" karaf tooling.test artifacts (< 2.2.9) for now? Or do I use the
FuseTestSupport package from fusesource?  Or do I learn about the
exam.container artifacts and the "KarafTestContainer"

Thanks for your time.
Joe




--
View this message in context: http://karaf.922171.n3.nabble.com/Karaf-Pax-Exam-advice-in-Fuse-ESB-Release-7-1-0-xxx-tp4027806.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message