Hi,

On Wed, Aug 15, 2012 at 11:15 PM, Harald Wellmann <[email protected]>wrote:

> I'm afraid you've hit a point where Learn-PaxExam and recent Pax Exam
> releases have slightly gone out of synch.
>
> If you replace "junitBundles()" by "new JUnitBundlesOption()", the problem
> should be gone.
>
> Reason: junitBundles() by default enables the JUnitProbeInvoker which is
> required for the JUnit driver, but not for the plumbing API.
>

Yes, that solves it. Thank you.


>
> By the way, is there any particular reason you're trying to use the
> plumbing API?
>
> In general, it should be easier getting started with the JUnit driver, and
> there are plenty of examples in Pax Exam's own regression tests, see
>
> https://github.com/ops4j/org.**ops4j.pax.exam2/tree/master/**
> itest/src/it/regression-multi<https://github.com/ops4j/org.ops4j.pax.exam2/tree/master/itest/src/it/regression-multi>
>
>
I'm just trying to get an idea how a plumbing based test would look like if
I am to use it in a JUnit 3 environment. And thanks for the link it does
have some good examples.


BTW could you please tell me the difference between pax-exam-link-mvn and
pax-exam-link-assembly? When should one be preferred over the other?

Thanks,
Nufail

-- 

Mohamed Nufail
Undergraduate,
Department of Computer Science & Engineering,
University of Moratuwa.
Blog: http://www.nufailm.blogspot.com/
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to