Ok, the spring-osgi-testing sounds interesting, and indeed much more
complete than the stuff I'm using.

HOWEVER, I already have enough on my plate right now and I'm not YET ready
to add Spring to the pile. Although I've heard many good things about Spring
and I'm looking forward to trying spring-osgi, now's not the time for me.

The JUnit stuff I'm using now is sufficient for my current needs. So... I'll
continue with what I'm doing. Since Efy expressed interest, I guess I'll
commit it to the lab when I'm ready.


Cheers,
Dave



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Toni Menzel
> Sent: 5 May 2007 18:24
> To: General OPS4J
> Subject: Re: Should I include a junit project in ops4j?
>
>
> Firs of all: i think having real unit testing support for osgi here at
> ops4j would be a nice effort.
> i am not sure about the project you found but have you looked at the
> integrated junit support they did in spring-osgi?
> One of the developers blogged about this particular quite interesting
> issue here
> http://www.tensegrity.hellblazer.com/2007/04/springosgi_integratio
> n_reaches_1.html.
> Look at the (4th) paragraph starting with "One of the features I've been
> making a lot of use of is the whole JUnit integration."
>
> What do you think about that?
>
> David Leangen schrieb:
> > I've been looking for a decent way to run integration tests. I
> think I've
> > found an "ok" solution and I'm wondering if I should commit it
> to ops4j. To
> > this effect, I have a few questions to ask (below after all the bla bla
> > bla).
> >
> > Background
> > ----------
> > I had hacked a solution using Maven2 so the tests would be run
> during the
> > build if a certain profile was switched on. However, the
> defaults of this
> > approach soon became unbearable, and me and my developers [ ;-)
> ] gave up on
> > running the integration tests. Result: all the IT code is way
> out of date
> > and no IT tests are being run anymore.
> >
> > To work properly, the integration tests must be run from within an osgi
> > framework. Personally, I would call this the curse of using
> osgi, since now
> > I am totally bound to the framework and have swallowed the key. But I
> > digress...
> >
> >
> > Possible solution?
> > ------------------
> > After googling for a bit[1] I noticed that there was a small, but useful
> > bundle for running JUnit from within an osgi framework. I tried
> it out and
> > generally I like it.
> >
> > Some problems:
> >
> >  - the project uses KF standards for building. This
> >    makes it not so easy to integrate into my projects
> >    that use M2/maven-osgi-plugin. To patch up some minor
> >    problems I was having, I needed to completely restructure
> >    the project so I could rebuild it.
> >
> >  - there appears to be very little support at KF (at
> >    least from my initial perspective). I guess this is
> >    normal for a commercially-oriented product.
> >
> >  - is it appropriate to "steal" an OSS project like that?
> >
> >
> > The potential could be very interesting, though... I already
> have many ideas
> > about how to integrate this (properly!!) with the CI system I
> want to build
> > here.
> >
> >
> > Questions
> > ---------
> > Question the first: do you guys think it's reasonable to use
> JUnit for this?
> > Or is there a better, perhaps more standarized osgi approach
> that I'm just
> > not aware of? For instance, I noticed a post by Peter Kriens[2], but I
> > couldn't actually find this project and it seems a bit old.
> >
> > Question the second: given the state of the KF Junit project that I
> > described above, do you think it's reasonable to import it here
> and build on
> > it?
> >
> > Question the third: anybody else interested in this? Or should
> I just hoard
> > this privately to myself?
> >
> >
> > Cheers,
> > Dave
> >
> >
> >
> >
> > [1]Wouldn't it be nice to have a verb invented from "ops4j"? As
> in: "After
> > 'ops4jing' for a bit..."
> > [2] http://www.aqute.biz/Blog/2005-06-27
> >
> >
> > _______________________________________________
> > general mailing list
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/general
> >
>
>
> --
> Toni Menzel
> http://www.tonit.com
> mailto:[EMAIL PROTECTED]
>
>
> _______________________________________________
> general mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/general
>


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to